diff --git a/.github/workflows/cargo-publish.yml b/.github/workflows/cargo-publish.yml new file mode 100644 index 0000000000..5b7e9f8956 --- /dev/null +++ b/.github/workflows/cargo-publish.yml @@ -0,0 +1,23 @@ +name: Publish to crates.io + +on: + # Triggered when we tag a release (including a prerelease) + release: + types: [published] + +jobs: + cargo-publish: + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v2 + - name: Install latest nightly + uses: actions-rs/toolchain@v1 + with: + components: rustfmt, clippy + target: i686-unknown-linux-gnu + # This overwrites the default toolchain with the toolchain specified above. + override: true + - name: Cargo login + run: cargo login ${{ secrets.CI_CARGO_LOGIN }} + - name: Cargo publish + run: cargo publish diff --git a/CHANGELOG.md b/CHANGELOG.md index bf18367013..c3d0e70afb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +0.4.1 (2021-05-20) +=== + +Misc +--- +* Upgrade the Rust version we use to nightly-2021-05-12 (1.54.0-nightly). + 0.4.0 (2021-05-14) === diff --git a/Cargo.toml b/Cargo.toml index ef8792aed1..785bd78997 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mmtk" -version = "0.4.0" +version = "0.4.1" authors = ["The MMTk Developers <>"] edition = "2018" license = "MIT OR Apache-2.0"