diff --git a/.github/workflows/release-prod.yml b/.github/workflows/release-prod.yml index a5eadf2..5e6f9a7 100644 --- a/.github/workflows/release-prod.yml +++ b/.github/workflows/release-prod.yml @@ -36,6 +36,7 @@ jobs: - name: Update Cargo Version env: VERSION: ${{ github.head_ref || github.ref_name }} + run: cargo set-version ${{ env.VERSION }} - name: Build run: cargo build --release --target ${{ matrix.target }} - name: Upload artifact diff --git a/.releaserc.yml b/.releaserc.yml index cdc479d..b166fb8 100644 --- a/.releaserc.yml +++ b/.releaserc.yml @@ -18,3 +18,4 @@ branches: - name: "development" prerelease: "rc" channel: "false" +tagFormat: "${version}"