Skip to content

Commit

Permalink
Fix bumpversion config and broken package files
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Jan 8, 2022
1 parent 6168bab commit b485b86
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 9 deletions.
8 changes: 7 additions & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,27 @@ replace = github.com/ethereum/evmc/v{new_version}

[bumpversion:file:bindings/rust/evmc-sys/Cargo.toml]
search = version = "{current_version}"
replace = version = "{new_version}"

[bumpversion:file:bindings/rust/evmc-vm/Cargo.toml]
search = version = "{current_version}"
replace = version = "{new_version}"

[bumpversion:file:bindings/rust/evmc-declare/Cargo.toml]
search = version = "{current_version}"
replace = version = "{new_version}"

[bumpversion:file:bindings/rust/evmc-declare-tests/Cargo.toml]
search = version = "{current_version}"
replace = version = "{new_version}"

[bumpversion:file:examples/example-rust-vm/Cargo.toml]
search = version = "{current_version}"
replace = version = "{new_version}"

[bumpversion:file:examples/example-rust-vm/src/lib.rs]
search = , "{current_version}"
search = "{current_version}"
replace = "{new_version}"

[bumpversion:file:docs/EVMC.md]
serialize = {major}
Expand Down
2 changes: 1 addition & 1 deletion bindings/rust/evmc-declare-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[package]
name = "evmc-declare-tests"
10.0.0-alpha.2
version = "10.0.0-alpha.2"
authors = ["Jake Lang <[email protected]>"]
license = "Apache-2.0"
repository = "https://github.com/ethereum/evmc"
Expand Down
4 changes: 2 additions & 2 deletions bindings/rust/evmc-declare/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[package]
name = "evmc-declare"
10.0.0-alpha.2
version = "10.0.0-alpha.2"
authors = ["Jake Lang <[email protected]>", "Alex Beregszaszi <[email protected]>"]
license = "Apache-2.0"
repository = "https://github.com/ethereum/evmc"
Expand All @@ -17,7 +17,7 @@ heck = "0.3.1"
proc-macro2 = "1.0"
syn = { version = "1.0", features = ["full"] }
# For documentation examples
evmc-vm = { path = "../evmc-vm", 10.0.0-alpha.2 }
evmc-vm = { path = "../evmc-vm", version = "10.0.0-alpha.2" }

[lib]
proc-macro = true
2 changes: 1 addition & 1 deletion bindings/rust/evmc-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[package]
name = "evmc-sys"
10.0.0-alpha.2
version = "10.0.0-alpha.2"
authors = ["Alex Beregszaszi <[email protected]>"]
license = "Apache-2.0"
repository = "https://github.com/ethereum/evmc"
Expand Down
4 changes: 2 additions & 2 deletions bindings/rust/evmc-vm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

[package]
name = "evmc-vm"
10.0.0-alpha.2
version = "10.0.0-alpha.2"
authors = ["Alex Beregszaszi <[email protected]>", "Jake Lang <[email protected]>"]
license = "Apache-2.0"
repository = "https://github.com/ethereum/evmc"
description = "Bindings to EVMC (VM specific)"
edition = "2018"

[dependencies]
evmc-sys = { path = "../evmc-sys", 10.0.0-alpha.2 }
evmc-sys = { path = "../evmc-sys", version = "10.0.0-alpha.2" }
2 changes: 1 addition & 1 deletion examples/example-rust-vm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[package]
name = "example-rust-vm"
10.0.0-alpha.2
version = "10.0.0-alpha.2"
authors = ["Alex Beregszaszi <[email protected]>", "Jake Lang <[email protected]>"]
edition = "2018"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/example-rust-vm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use evmc_declare::evmc_declare_vm;
use evmc_vm::*;

#[evmc_declare_vm("ExampleRustVM", "evm, precompiles"10.0.0-alpha.2)]
#[evmc_declare_vm("ExampleRustVM", "evm, precompiles", "10.0.0-alpha.2")]
pub struct ExampleRustVM;

impl EvmcVm for ExampleRustVM {
Expand Down

0 comments on commit b485b86

Please sign in to comment.