diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d7c7e5df..93c08dca 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,6 +39,6 @@ jobs: gh_token: ${{ github.token }} run: | mkdir .release-assets - mv scripts\TWBlue_setup.exe .release-assets\TWBlue_setup_$(cat version.txt).exe - 7z a -tzip .release-assets\TWBlue_portable_$(cat version.txt).zip scripts\TWBlue64 - gh release create release -n "New version of TWBlue." -t "Version $(cat version.txt)" .release-assets\TWBlue_setup_$(cat version.txt).exe .release-assets\TWBlue_portable_$(cat version.txt).zip + mv scripts\TWBlue_setup.exe .release-assets\TWBlue_setup_${{github.ref_name}}.exe + 7z a -tzip .release-assets\TWBlue_portable_${{github.ref_name}}.zip scripts\TWBlue64 + gh release create release -f "release-notes.md" -t "${{github.ref_name}}" .release-assets\TWBlue_setup_${{github.ref_name}}.exe .release-assets\TWBlue_portable_${{github.ref_name}}.zip