diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 336e909..2358196 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -44,10 +44,13 @@ jobs: - name: Release uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') + run: | + $version = $env:GITHUB_REF -replace 'refs/tags/', '' + Write-Host "VERSION=$version" >> $env:GITHUB_ENV with: files: | FS_win_dotnet8.zip LICENSE - name: ${{ replace(github.ref, 'refs/tags/', '') }} + name: ${{ env.VERSION}} draft: false prerelease: true