Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ jobs:

- name: Locate App & Create DMG
run: |
VERSION="${GITHUB_REF_NAME#v}"
DMG_NAME="SpeakType-${VERSION}.dmg"
# Find the app anywhere in the build folder
APP_PATH=$(find build -name "speaktype.app" | head -n 1)

Expand Down Expand Up @@ -82,11 +84,11 @@ jobs:
--icon "speaktype.app" 180 170 \
--hide-extension "speaktype.app" \
--app-drop-link 480 170 \
"SpeakType.dmg" \
"$DMG_NAME" \
"$APP_PATH"

- name: Upload Release Asset
uses: softprops/action-gh-release@v2
with:
files: SpeakType.dmg
files: SpeakType-${{ github.ref_name#v }}.dmg
generate_release_notes: true