mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-23 03:38:08 -06:00
Actions: Get release version from pushed tag and use Release notes file to generate releases
This commit is contained in:
parent
ae56f879a8
commit
6f2642914c
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -39,6 +39,6 @@ jobs:
|
|||||||
gh_token: ${{ github.token }}
|
gh_token: ${{ github.token }}
|
||||||
run: |
|
run: |
|
||||||
mkdir .release-assets
|
mkdir .release-assets
|
||||||
mv scripts\TWBlue_setup.exe .release-assets\TWBlue_setup_$(cat version.txt).exe
|
mv scripts\TWBlue_setup.exe .release-assets\TWBlue_setup_${{github.ref_name}}.exe
|
||||||
7z a -tzip .release-assets\TWBlue_portable_$(cat version.txt).zip scripts\TWBlue64
|
7z a -tzip .release-assets\TWBlue_portable_${{github.ref_name}}.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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user