Skip to content

Commit c4f4491

Browse files
committed
update
1 parent 1fef1c1 commit c4f4491

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
echo "APP_PATH=${APP_PATH}" >> $GITHUB_ENV
4545
4646
- name: Determine version string
47+
id: version
4748
run: |
4849
set -euo pipefail
4950
# If triggered by tag, use the tag name (v1.2.3). Otherwise use a timestamp.
@@ -54,6 +55,7 @@ jobs:
5455
fi
5556
echo "VERSION=${VERSION}" >> $GITHUB_ENV
5657
echo "DMG_NAME=CopyShot-${VERSION}.dmg" >> $GITHUB_ENV
58+
echo "dmg_name=CopyShot-${VERSION}.dmg" >> "$GITHUB_OUTPUT"
5759
5860
- name: Ad-hoc codesign (.app)
5961
run: |
@@ -88,6 +90,6 @@ jobs:
8890
uses: softprops/action-gh-release@v2
8991
with:
9092
files: |
91-
dist/${{ env.DMG_NAME }}
92-
dist/${{ env.DMG_NAME }}.sha256
93+
dist/${{ steps.version.outputs.dmg_name }}
94+
dist/${{ steps.version.outputs.dmg_name }}.sha256
9395
generate_release_notes: true

0 commit comments

Comments
 (0)