Skip to content

Commit 5ad0136

Browse files
committed
Fix release script
1 parent 71c8b9e commit 5ad0136

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/applescript.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
run: ./build.sh
2121

2222
- name: Zip
23-
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'v') }}
23+
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }}
2424
run: zip -r "Switch Capture Tagger.zip" *.app Readme.md
2525

2626
- name: Create Release
27-
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'v') }}
27+
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }}
2828
id: create_release
2929
uses: actions/create-release@v1
3030
env:
@@ -36,7 +36,7 @@ jobs:
3636
prerelease: false
3737

3838
- name: Upload Application release
39-
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'v') }}
39+
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }}
4040
id: upload_application
4141
uses: actions/upload-release-asset@v1
4242
env:

0 commit comments

Comments
 (0)