From ceb52fc401f0d855b4ce6d778265df33d3d20215 Mon Sep 17 00:00:00 2001 From: Teo Stocco Date: Sat, 4 Feb 2023 10:46:52 +0100 Subject: [PATCH] chore: release v0.2.0 --- .github/workflows/release.yml | 25 ++++++++++++++---- Cargo.lock | 48 +++++++++++++++++++++++++---------- Cargo.toml | 8 +++--- 3 files changed, 59 insertions(+), 22 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 79e88cf..b8d3db3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,9 +24,26 @@ jobs: echo "Tag does not match code version, stopping." exit -1 fi - echo "Releasing $VERSION" + echo "Releasing v$VERSION" - build: + crates: + needs: + - check-bump + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: dtolnay/rust-toolchain@stable + - uses: Swatinem/rust-cache@v2 + with: + key: ${{ runner.os }} + - name: Publish + uses: actions-rs/cargo@v1 + with: + use-cross: false + command: publish + args: "--locked" + + binaries: needs: - check-bump runs-on: ${{ matrix.os }} @@ -57,9 +74,7 @@ jobs: - name: Compress run: | mv "target/${{ matrix.target }}/release/whiz${{ matrix.suffix }}" . - tar czvf \ - "whiz-${{ github.ref_name }}-${{ matrix.target }}.tar.gz" \ - "whiz${{ matrix.suffix }}" + tar czvf "whiz-${{ github.ref_name }}-${{ matrix.target }}.tar.gz" "whiz${{ matrix.suffix }}" - name: Upload uses: svenstaro/upload-release-action@v2 with: diff --git a/Cargo.lock b/Cargo.lock index 7721df1..f08d80a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -322,6 +322,22 @@ dependencies = [ "winapi", ] +[[package]] +name = "crossterm" +version = "0.26.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77f67c7faacd4db07a939f55d66a983a5355358a1f17d32cc9a8d01d1266b9ce" +dependencies = [ + "bitflags", + "crossterm_winapi", + "libc", + "mio", + "parking_lot", + "signal-hook", + "signal-hook-mio", + "winapi", +] + [[package]] name = "crossterm_winapi" version = "0.9.0" @@ -636,6 +652,12 @@ dependencies = [ "libc", ] +[[package]] +name = "hermit-abi" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "856b5cb0902c2b6d65d5fd97dfa30f9b70c7538e770b98eab5ed52d8db923e01" + [[package]] name = "http" version = "0.2.8" @@ -841,14 +863,14 @@ checksum = "30e22bd8629359895450b59ea7a776c850561b96a3b1d31321c1949d9e6c9146" [[package]] name = "is-terminal" -version = "0.4.2" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28dfb6c8100ccc63462345b67d1bbc3679177c75ee4bf59bf29c8b1d110b8189" +checksum = "22e18b0a45d56fe973d6db23972bf5bc46f988a4a2385deac9cc29572f09daef" dependencies = [ - "hermit-abi", + "hermit-abi 0.3.0", "io-lifetimes", "rustix", - "windows-sys 0.42.0", + "windows-sys 0.45.0", ] [[package]] @@ -1042,7 +1064,7 @@ version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b" dependencies = [ - "hermit-abi", + "hermit-abi 0.2.6", "libc", ] @@ -1375,16 +1397,16 @@ dependencies = [ [[package]] name = "rustix" -version = "0.36.7" +version = "0.36.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4fdebc4b395b7fbb9ab11e462e20ed9051e7b16e42d24042c776eca0ac81b03" +checksum = "f43abb88211988493c1abb44a70efa56ff0ce98f233b7b276146f1f3f7ba9644" dependencies = [ "bitflags", "errno", "io-lifetimes", "libc", "linux-raw-sys", - "windows-sys 0.42.0", + "windows-sys 0.45.0", ] [[package]] @@ -1772,9 +1794,9 @@ dependencies = [ [[package]] name = "tinyvec_macros" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" +checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" @@ -1870,7 +1892,7 @@ checksum = "ccdd26cbd674007e649a272da4475fb666d3aa0ad0531da7136db6fab0e5bad1" dependencies = [ "bitflags", "cassowary", - "crossterm", + "crossterm 0.25.0", "unicode-segmentation", "unicode-width", ] @@ -2122,14 +2144,14 @@ dependencies = [ [[package]] name = "whiz" -version = "0.1.0" +version = "0.2.0" dependencies = [ "actix", "ansi-to-tui", "anyhow", "chrono", "clap", - "crossterm", + "crossterm 0.26.0", "dotenv-parser", "globset", "ignore", diff --git a/Cargo.toml b/Cargo.toml index 150d99c..1853430 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "whiz" -version = "0.1.0" +version = "0.2.0" edition = "2021" description = "Modern DAG/tasks runner for multi-platform monorepos." license = "MPL-2.0" @@ -10,13 +10,13 @@ actix = "0.13.0" ansi-to-tui = "2.0.0" anyhow = "1.0.68" chrono = "0.4.23" -clap = { version = "4.1.1", features = ["derive"] } -crossterm = "0.25.0" +clap = { version = "4.1.4", features = ["derive"] } +crossterm = "0.26.0" dotenv-parser = "0.1.3" globset = "0.4.10" ignore = "0.4.20" indexmap = { version = "1.9.2", features = ["serde"] } -notify = "5.0.0" +notify = "5.1.0" path-absolutize = "3.0.14" path-clean = "0.1.0" regex = "1.7.1"