We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59509a4 commit 4ce161bCopy full SHA for 4ce161b
1 file changed
.github/workflows/release.yml
@@ -53,6 +53,8 @@ jobs:
53
54
- name: Locate App & Create DMG
55
run: |
56
+ VERSION="${GITHUB_REF_NAME#v}"
57
+ DMG_NAME="SpeakType-${VERSION}.dmg"
58
# Find the app anywhere in the build folder
59
APP_PATH=$(find build -name "speaktype.app" | head -n 1)
60
@@ -82,11 +84,11 @@ jobs:
82
84
--icon "speaktype.app" 180 170 \
83
85
--hide-extension "speaktype.app" \
86
--app-drop-link 480 170 \
- "SpeakType.dmg" \
87
+ "$DMG_NAME" \
88
"$APP_PATH"
89
90
- name: Upload Release Asset
91
uses: softprops/action-gh-release@v2
92
with:
- files: SpeakType.dmg
93
+ files: SpeakType-${{ github.ref_name#v }}.dmg
94
generate_release_notes: true
0 commit comments