We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2fbb902 + 497272a commit efcba01Copy full SHA for efcba01
1 file changed
.github/workflows/packaging.yml
@@ -17,10 +17,14 @@ jobs:
17
env:
18
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19
run: |
20
- gh release create ${{ github.ref_name }} \
21
- --repo ${{ github.repository }} \
22
- --title "${{ github.ref_name }}" \
23
- --generate-notes
+ if ! gh release view ${{ github.ref_name }} --repo ${{ github.repository }} > /dev/null 2>&1; then
+ gh release create ${{ github.ref_name }} \
+ --repo ${{ github.repository }} \
+ --title "${{ github.ref_name }}" \
24
+ --generate-notes
25
+ else
26
+ echo "Release ${{ github.ref_name }} already exists, skipping creation."
27
+ fi
28
29
linux:
30
name: Linux AppImages
0 commit comments