Skip to content

Commit

Permalink
Still trying to get version to tag
Browse files Browse the repository at this point in the history
  • Loading branch information
nref committed Oct 28, 2024
1 parent 5f53bc0 commit 2fe31d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ jobs:
echo "VERSION=$(pwsh ./Get-ProjectVersion.ps1 -ProjectPath BrowseRouter)" >> $GITHUB_ENV
- name: Show version
run: |
echo "Version is: $VERSION"
echo "Version is: ${{ env.VERSION }}"
- name: Build and sign
run: pwsh ./make.ps1
- uses: ncipollo/release-action@v1
with:
artifacts: "./Releases/**/*.zip"
draft: true
allowUpdates: true
tag: $VERSION
tag: ${{ env.VERSION }}
1 change: 0 additions & 1 deletion Get-ProjectVersion.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ param (

$output = dotnet msbuild $ProjectPath -target:GetVersion -nologo -q
$version = $output.Trim()
echo "Project version for $ProjectPath is $version"

return $version

0 comments on commit 2fe31d1

Please sign in to comment.