From 710f3b1beeb680e4ddf309630fecc7bee124ffbb Mon Sep 17 00:00:00 2001 From: Andrew Jones Date: Fri, 2 Sep 2022 11:06:47 +0100 Subject: [PATCH] Release v2.0.0-alpha.2 (#723) * Bump versions to 0.2.0-alpha.2 * Sync transcode crate with cargo-contract versions * Update CHANGELOG.md * Fixes after merge * Update CHANGELOG.md * Don't run CI on CHANGELOG update --- .github/workflows/ci.yml | 1 + CHANGELOG.md | 6 ++++++ Cargo.lock | 6 +++--- crates/cargo-contract/Cargo.toml | 6 +++--- crates/metadata/Cargo.toml | 2 +- crates/transcode/Cargo.toml | 4 ++-- 6 files changed, 16 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2e8eec03a..6786df6e7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,7 @@ on: - v* paths-ignore: - 'README.md' + - 'CHANGELOG.md' jobs: fmt: runs-on: ubuntu-latest diff --git a/CHANGELOG.md b/CHANGELOG.md index af52b6a6c..08b7dacf9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.0.0-alpha.2] - 2022-09-02 + +### Fixed +- Sync version of transcode crate to fix metadata parsing - [#723](https://githubcom/paritytech/cargo-contract/pull/723) +- Fix numbering of steps during `build` - [#715](https://githubcom/paritytech/cargo-contract/pull/715) + ## [2.0.0-alpha.1] - 2022-08-24 This release brings two exciting updates! First, contracts can now be built using the diff --git a/Cargo.lock b/Cargo.lock index 316fabcdc..ed728291d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -464,7 +464,7 @@ dependencies = [ [[package]] name = "cargo-contract" -version = "2.0.0-alpha.1" +version = "2.0.0-alpha.2" dependencies = [ "anyhow", "assert_cmd", @@ -627,7 +627,7 @@ checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" [[package]] name = "contract-metadata" -version = "2.0.0-alpha.1" +version = "2.0.0-alpha.2" dependencies = [ "impl-serde", "pretty_assertions", @@ -639,7 +639,7 @@ dependencies = [ [[package]] name = "contract-transcode" -version = "0.2.0-alpha.1" +version = "2.0.0-alpha.2" dependencies = [ "anyhow", "assert_matches", diff --git a/crates/cargo-contract/Cargo.toml b/crates/cargo-contract/Cargo.toml index 281b235fc..72d920d23 100644 --- a/crates/cargo-contract/Cargo.toml +++ b/crates/cargo-contract/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo-contract" -version = "2.0.0-alpha.1" +version = "2.0.0-alpha.2" authors = ["Parity Technologies "] build = "build.rs" edition = "2021" @@ -32,8 +32,8 @@ colored = "2.0.0" toml = "0.5.9" rustc_version = "0.4.0" blake2 = "0.10.4" -contract-metadata = { version = "2.0.0-alpha.1", path = "../metadata" } -transcode = { package = "contract-transcode", version = "0.2.0-alpha.1", path = "../transcode" } +contract-metadata = { version = "2.0.0-alpha.2", path = "../metadata" } +transcode = { package = "contract-transcode", version = "2.0.0-alpha.2", path = "../transcode" } semver = { version = "1.0.13", features = ["serde"] } serde = { version = "1.0.144", default-features = false, features = ["derive"] } serde_json = "1.0.85" diff --git a/crates/metadata/Cargo.toml b/crates/metadata/Cargo.toml index ef0a1b01b..1f8d8419a 100644 --- a/crates/metadata/Cargo.toml +++ b/crates/metadata/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract-metadata" -version = "2.0.0-alpha.1" +version = "2.0.0-alpha.2" authors = ["Parity Technologies "] edition = "2021" diff --git a/crates/transcode/Cargo.toml b/crates/transcode/Cargo.toml index 0be793580..eafbb17ea 100644 --- a/crates/transcode/Cargo.toml +++ b/crates/transcode/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract-transcode" -version = "0.2.0-alpha.1" +version = "2.0.0-alpha.2" authors = ["Parity Technologies "] edition = "2021" @@ -18,7 +18,7 @@ path = "src/lib.rs" [dependencies] anyhow = "1.0.63" -contract-metadata = { version = "2.0.0-alpha.1", path = "../metadata" } +contract-metadata = { version = "2.0.0-alpha.2", path = "../metadata" } env_logger = "0.9.0" escape8259 = "0.5.2" hex = "0.4.3"