Skip to content

Commit

Permalink
Add version to Mac bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
rickykresslein committed Sep 30, 2024
1 parent cc5398c commit 595072e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
os: macos-latest
make: bash scripts/build-macos.sh
artifact_path: |
echo "ARTIFACT_PATH=target/release/macos/furtherance.dmg" >> "$GITHUB_ENV"
echo "ARTIFACT_PATH=target/release/macos/furtherance-${{ github.event.inputs.tag }}.dmg" >> "$GITHUB_ENV"
- target: windows
os: windows-latest
make: bash scripts/build-windows-installer.sh
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
target:
- artifact: macos
artifact_name: |
echo "ARTIFACT_NAME=furtherance.dmg" >> "$GITHUB_ENV"
echo "ARTIFACT_NAME=furtherance-${{ github.event.inputs.tag }}.dmg" >> "$GITHUB_ENV"
asset_type: application/octet-stream
- artifact: windows
artifact_name: |
Expand Down
3 changes: 2 additions & 1 deletion scripts/package-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
RELEASE_DIR="target/release"
APP_DIR="$RELEASE_DIR/macos"
APP_NAME="Furtherance.app"
DMG_NAME="furtherance.dmg"
VERSION=$(cat VERSION)
DMG_NAME="furtherance-$VERSION.dmg"
DMG_DIR="$RELEASE_DIR/macos"

# package dmg
Expand Down

0 comments on commit 595072e

Please sign in to comment.