From 30533dbb35bb89e30d21dd39f899cd6d467bd559 Mon Sep 17 00:00:00 2001 From: Tobias Richter Date: Mon, 19 Aug 2024 20:23:58 +0200 Subject: [PATCH] set release version during build --- .github/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f64e9f7..8aeca2e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,6 +40,11 @@ jobs: - name: Rust Cache uses: Swatinem/rust-cache@v2.7.3 + - name: Set release version + uses: dtolnay/rust-toolchain@stable + with: + command: set-version $GITHUB_REF_NAME + - uses: taiki-e/upload-rust-binary-action@v1 with: # (required) Comma-separated list of binary names (non-extension portion of filename) to build and upload.