diff --git a/.github/workflows/pre-release.yaml b/.github/workflows/pre-release.yaml index 305347d5..79abde05 100644 --- a/.github/workflows/pre-release.yaml +++ b/.github/workflows/pre-release.yaml @@ -25,9 +25,9 @@ jobs: id: create_release uses: softprops/action-gh-release@v2 with: - tag_name: ${version} - name: Pre-Release ${version} - body: "![GitHub Downloads (specific asset, specific tag)](https://img.shields.io/github/downloads/ChrisTitusTech/linutil/${version}/linutil)" + tag_name: ${{ env.version }} + name: Pre-Release ${{ env.version }} + body: "![GitHub Downloads (specific asset, specific tag)](https://img.shields.io/github/downloads/ChrisTitusTech/linutil/${{ env.version }}/linutil)" append_body: false files: | ./linutil @@ -35,4 +35,5 @@ jobs: prerelease: true generate_release_notes: true env: + version: ${{ env.version }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file