From bb45f5615599571d43b4ad251f4d3ab9aa14ecdb Mon Sep 17 00:00:00 2001 From: angie Date: Mon, 15 Jul 2024 11:03:57 -0400 Subject: [PATCH] Version bump --- .github/workflows/publish_crate.yml | 26 ++++++++++++++------------ CHANGELOG.md | 6 +++--- Cargo.lock | 4 ++-- slinky-cli/Cargo.toml | 4 ++-- slinky/Cargo.toml | 2 +- slinky/src/version.rs | 2 +- 6 files changed, 23 insertions(+), 21 deletions(-) diff --git a/.github/workflows/publish_crate.yml b/.github/workflows/publish_crate.yml index f344c51..a60fc3c 100644 --- a/.github/workflows/publish_crate.yml +++ b/.github/workflows/publish_crate.yml @@ -57,10 +57,23 @@ jobs: - name: Run tests run: cargo test --workspace + msrv: + runs-on: ubuntu-latest + steps: + - name: Checkout reposistory + uses: actions/checkout@v4 + + - name: Setup MSRV checker + uses: taiki-e/install-action@cargo-hack + + - name: Run MSRV checker + run: cargo hack check --rust-version --workspace --all-targets --ignore-private + release: name: release artifact for ${{ matrix.builder.target }} runs-on: ${{ matrix.builder.runner }} + needs: [run_tests, msrv] strategy: fail-fast: false @@ -147,6 +160,7 @@ jobs: publish: name: Publish runs-on: ubuntu-latest + needs: [run_tests, msrv] steps: - name: Checkout reposistory @@ -172,15 +186,3 @@ jobs: - name: Upload slinky-cli crate if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') run: cargo publish --package slinky-cli --token ${{ secrets.CARGO_REGISTRY_TOKEN }} - - msrv: - runs-on: ubuntu-latest - steps: - - name: Checkout reposistory - uses: actions/checkout@v4 - - - name: Setup MSRV checker - uses: taiki-e/install-action@cargo-hack - - - name: Run MSRV checker - run: cargo hack check --rust-version --workspace --all-targets --ignore-private diff --git a/CHANGELOG.md b/CHANGELOG.md index c9230ab..6a8fc50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,12 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [1.0.0] - 2024-XX-YY +## [0.2.0] - 2024-07-15 ### Added - Initial relase -[unreleased]: https://github.com/decompals/slinky/compare/main...develop +[unreleased]: https://github.com/decompals/slinky/compare/0.2.0...main -[1.0.0]: https://github.com/decompals/slinky/releases/tag/1.0.0 +[0.2.0]: https://github.com/decompals/slinky/releases/tag/0.2.0 diff --git a/Cargo.lock b/Cargo.lock index 8fb837c..60226ba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -434,7 +434,7 @@ dependencies = [ [[package]] name = "slinky" -version = "0.1.0" +version = "0.2.0" dependencies = [ "indexmap", "rstest", @@ -445,7 +445,7 @@ dependencies = [ [[package]] name = "slinky-cli" -version = "0.1.0" +version = "0.2.0" dependencies = [ "clap", "regex", diff --git a/slinky-cli/Cargo.toml b/slinky-cli/Cargo.toml index 863ca55..5dfc7d5 100644 --- a/slinky-cli/Cargo.toml +++ b/slinky-cli/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "slinky-cli" -version = "0.1.0" +version = "0.2.0" edition = "2021" rust-version = "1.74.1" authors = ["Anghelo Carvajal "] @@ -17,4 +17,4 @@ categories = ["development-tools::build-utils", "command-line-utilities"] [dependencies] clap = { version = "4.5.1", features = ["derive"] } regex = "1.10.5" -slinky = { path = "../slinky", version = "0.1.0" } +slinky = { path = "../slinky", version = "0.2.0" } diff --git a/slinky/Cargo.toml b/slinky/Cargo.toml index 0a4bb53..542b34c 100644 --- a/slinky/Cargo.toml +++ b/slinky/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "slinky" -version = "0.1.0" +version = "0.2.0" edition = "2021" rust-version = "1.66.1" authors = ["Anghelo Carvajal "] diff --git a/slinky/src/version.rs b/slinky/src/version.rs index 4c595a3..c3cdddd 100644 --- a/slinky/src/version.rs +++ b/slinky/src/version.rs @@ -2,7 +2,7 @@ /* SPDX-License-Identifier: MIT */ pub static VERSION_MAJOR: u32 = 0; -pub static VERSION_MINOR: u32 = 1; +pub static VERSION_MINOR: u32 = 2; pub static VERSION_PATCH: u32 = 0; pub static VERSION_TUPLE: (u32, u32, u32) = (VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH);