try env:version

This commit is contained in:
Chris Titus 2024-07-18 16:53:40 -05:00
parent b8b503aa5f
commit f44935c8b1

View File

@ -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 }}