File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -57,20 +57,20 @@ jobs:
57
57
sudo mv tools/www-tpl/* ./Havana/tools/www-tpl/
58
58
sudo cp tools/scripts/README.txt ./Havana/
59
59
60
- - id : sha-short
61
- name : Get short SHA
62
- run : echo "::set-output name=sha-short::$(git rev-parse --short HEAD)"
63
-
60
+ - id : get-tag
61
+ name : Get tag version
62
+ run : echo "tag=${GITHUB_REF##*/}" >> $GITHUB_OUTPUT
63
+
64
64
- name : Compress release files
65
65
uses : montudor/action-zip@v1
66
66
with :
67
- args : zip -qq -r ./Havana-${{ steps.sha-short .outputs.sha-short }}.zip ./Havana
67
+ args : zip -qq -r ./Havana-${{ steps.get-tag .outputs.tag }}.zip ./Havana
68
68
69
69
- uses : " marvinpinto/action-automatic-releases@latest"
70
70
with :
71
71
repo_token : " ${{ secrets.GITHUB_TOKEN }}"
72
- automatic_release_tag : " latest "
72
+ automatic_release_tag : " ${{ steps.get-tag.outputs.tag }} "
73
73
prerelease : true
74
- title : " Development Build ${{ steps.sha-short .outputs.sha-short }}"
74
+ title : " Pre-release ${{ steps.get-tag .outputs.tag }}"
75
75
files : |
76
- Havana-${{ steps.sha-short .outputs.sha-short }}.zip
76
+ Havana-${{ steps.get-tag .outputs.tag }}.zip
You can’t perform that action at this time.
0 commit comments