From 2361b5e8e98a028ea868399c2dabfa9b38a2d7a0 Mon Sep 17 00:00:00 2001 From: Tarrence van As Date: Tue, 16 Apr 2024 11:39:48 -0400 Subject: [PATCH] Pass version to release --- .github/workflows/release-dispatch.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release-dispatch.yml b/.github/workflows/release-dispatch.yml index 68713ffbab..cc65c5ef9d 100644 --- a/.github/workflows/release-dispatch.yml +++ b/.github/workflows/release-dispatch.yml @@ -24,8 +24,7 @@ jobs: - run: | VERSION=${{ inputs.version }} VERSION=${VERSION#v} - echo "VERSION=$VERSION" >> $GITHUB_ENV - cargo release version ${{ env.VERSION }} --execute --no-confirm && cargo release replace --execute --no-confirm + cargo release version $VERSION --execute --no-confirm && cargo release replace --execute --no-confirm - id: version_info run: | cargo install cargo-get