Skip to content

Commit 8cf6fd9

Browse files
snap: Only release on release not tag
Avoid releasing twice
1 parent abda498 commit 8cf6fd9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
release: edge
9696

9797
- name: Publish to candidate channel
98-
if: github.ref_type == 'tag' || github.event_name == 'release'
98+
if: github.event_name == 'release'
9999
uses: snapcore/action-publish@v1
100100
env:
101101
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}

0 commit comments

Comments
 (0)