From 505aec9e7d874f93548778a2992dac92b819c4d2 Mon Sep 17 00:00:00 2001 From: steebchen Date: Wed, 21 Aug 2024 14:34:00 +0100 Subject: [PATCH] Fix release version to use correct var --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ddf1709..72ecc94 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,7 @@ jobs: id: release_info run: | cargo install cargo-get - echo "tag_name=$(cargo get package.version)" >> $GITHUB_OUTPUT + echo "tag_name=$(cargo get workspace.package.version)" >> $GITHUB_OUTPUT release: name: ${{ matrix.job.target }} (${{ matrix.job.os }}) @@ -130,7 +130,7 @@ jobs: - id: version_info run: | cargo install cargo-get - echo "version=$(cargo get package.version)" >> $GITHUB_OUTPUT + echo "version=$(cargo get workspace.package.version)" >> $GITHUB_OUTPUT - name: Display structure of downloaded files run: ls -R artifacts - run: gh release create v${{ steps.version_info.outputs.version }} ./artifacts/*.gz --generate-notes --draft