Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
AngheloAlf committed Jul 15, 2024
1 parent c934035 commit bb45f56
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 21 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/publish_crate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -147,6 +160,7 @@ jobs:
publish:
name: Publish
runs-on: ubuntu-latest
needs: [run_tests, msrv]

steps:
- name: Checkout reposistory
Expand All @@ -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
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions slinky-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>"]
Expand All @@ -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" }
2 changes: 1 addition & 1 deletion slinky/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>"]
Expand Down
2 changes: 1 addition & 1 deletion slinky/src/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit bb45f56

Please sign in to comment.