From 5f0304db530611e6918cdf7d1d25c5f8549c52aa Mon Sep 17 00:00:00 2001 From: brusher_ru Date: Tue, 9 Jul 2024 20:10:57 +0300 Subject: [PATCH 1/3] fix: use tag name only instead of fully qualified ref --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 12448643..63412016 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -190,7 +190,7 @@ jobs: - name: Version suffix (for release only) id: version - run: echo "suffix=${{ github.ref_type == 'tag' && '-' || ''}}${{ github.ref_type == 'tag' && github.ref || ''}}" >> $GITHUB_OUTPUT + run: echo "suffix=${{ github.ref_type == 'tag' && '-' || ''}}${{ github.ref_type == 'tag' && github.ref_name || ''}}" >> $GITHUB_OUTPUT - name: Build clib run: cargo build -p post-cbindings --profile release-clib env: From 1b96b5ae9e43f68b2d5f30afea7946c87eff7a0a Mon Sep 17 00:00:00 2001 From: brusher_ru Date: Tue, 9 Jul 2024 21:48:47 +0300 Subject: [PATCH 2/3] release v0.7.10 --- Cargo.lock | 14 +++++++------- Cargo.toml | 2 +- certifier/Cargo.toml | 2 +- ffi/Cargo.toml | 2 +- initializer/Cargo.toml | 2 +- profiler/Cargo.toml | 2 +- scrypt-ocl/Cargo.toml | 2 +- service/Cargo.toml | 2 +- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index efdc2eb5..b7b3c7d7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -478,7 +478,7 @@ checksum = "8cd6604a82acf3039f1144f54b8eb34e91ffba622051189e71b781822d5ee1f5" [[package]] name = "certifier" -version = "0.7.9" +version = "0.7.10" dependencies = [ "axum", "axum-prometheus", @@ -1686,7 +1686,7 @@ dependencies = [ [[package]] name = "initializer" -version = "0.7.9" +version = "0.7.10" dependencies = [ "base64 0.22.1", "clap", @@ -2435,7 +2435,7 @@ checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" [[package]] name = "post-cbindings" -version = "0.7.9" +version = "0.7.10" dependencies = [ "cbindgen", "log", @@ -2446,7 +2446,7 @@ dependencies = [ [[package]] name = "post-rs" -version = "0.7.9" +version = "0.7.10" dependencies = [ "aes", "bitvec", @@ -2588,7 +2588,7 @@ dependencies = [ [[package]] name = "profiler" -version = "0.7.9" +version = "0.7.10" dependencies = [ "clap", "env_logger", @@ -3196,7 +3196,7 @@ dependencies = [ [[package]] name = "scrypt-ocl" -version = "0.7.9" +version = "0.7.10" dependencies = [ "log", "ocl", @@ -3339,7 +3339,7 @@ dependencies = [ [[package]] name = "service" -version = "0.7.9" +version = "0.7.10" dependencies = [ "async-stream", "axum", diff --git a/Cargo.toml b/Cargo.toml index c3845632..20ab0095 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ members = [ [package] name = "post-rs" -version = "0.7.9" +version = "0.7.10" edition = "2021" [lib] diff --git a/certifier/Cargo.toml b/certifier/Cargo.toml index 4fad5a4e..5340cca0 100644 --- a/certifier/Cargo.toml +++ b/certifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "certifier" -version = "0.7.9" +version = "0.7.10" edition = "2021" [dependencies] diff --git a/ffi/Cargo.toml b/ffi/Cargo.toml index 73334a3e..51328350 100644 --- a/ffi/Cargo.toml +++ b/ffi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "post-cbindings" -version = "0.7.9" +version = "0.7.10" edition = "2021" diff --git a/initializer/Cargo.toml b/initializer/Cargo.toml index 77c96b79..bfecc190 100644 --- a/initializer/Cargo.toml +++ b/initializer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "initializer" -version = "0.7.9" +version = "0.7.10" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/profiler/Cargo.toml b/profiler/Cargo.toml index 39899f9e..f67479d2 100644 --- a/profiler/Cargo.toml +++ b/profiler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "profiler" -version = "0.7.9" +version = "0.7.10" edition = "2021" [dependencies] diff --git a/scrypt-ocl/Cargo.toml b/scrypt-ocl/Cargo.toml index 974f1646..227f251f 100644 --- a/scrypt-ocl/Cargo.toml +++ b/scrypt-ocl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "scrypt-ocl" -version = "0.7.9" +version = "0.7.10" edition = "2021" [dependencies] diff --git a/service/Cargo.toml b/service/Cargo.toml index 14fbad1f..bb0b9c5a 100644 --- a/service/Cargo.toml +++ b/service/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "service" -version = "0.7.9" +version = "0.7.10" edition = "2021" [[bin]] From 1fed2e9dd16492155515c19d2357975bdd0b81e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20R=C3=B3=C5=BCa=C5=84ski?= Date: Wed, 10 Jul 2024 09:25:48 +0200 Subject: [PATCH 3/3] remove extra tag from zip archive filename --- .github/workflows/ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 63412016..42c26239 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -259,10 +259,8 @@ jobs: run: > mkdir ./assets; for dir in ./artifacts/*/; do - zip -o -j -r "./assets/$(basename "$dir")-$TAG.zip" "$dir"; + zip -o -j -r "./assets/$(basename "$dir").zip" "$dir"; done - env: - TAG: ${{ github.ref_name }} - name: Upload Release Assets run: gh release upload $TAG ./assets/*.zip env: