Skip to content

Commit

Permalink
try env:version
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisTitusTech committed Jul 18, 2024
1 parent b8b503a commit f44935c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/pre-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,15 @@ 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
./start.sh
prerelease: true
generate_release_notes: true
env:
version: ${{ env.version }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f44935c

Please sign in to comment.