Skip to content

Commit efcba01

Browse files
committed
Merge remote-tracking branch 'darkademic/dev'
2 parents 2fbb902 + 497272a commit efcba01

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/packaging.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,14 @@ jobs:
1717
env:
1818
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1919
run: |
20-
gh release create ${{ github.ref_name }} \
21-
--repo ${{ github.repository }} \
22-
--title "${{ github.ref_name }}" \
23-
--generate-notes
20+
if ! gh release view ${{ github.ref_name }} --repo ${{ github.repository }} > /dev/null 2>&1; then
21+
gh release create ${{ github.ref_name }} \
22+
--repo ${{ github.repository }} \
23+
--title "${{ github.ref_name }}" \
24+
--generate-notes
25+
else
26+
echo "Release ${{ github.ref_name }} already exists, skipping creation."
27+
fi
2428
2529
linux:
2630
name: Linux AppImages

0 commit comments

Comments
 (0)