We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e8c914 commit fac24a3Copy full SHA for fac24a3
.github/workflows/release.yml
@@ -38,7 +38,12 @@ jobs:
38
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39
TAG: ${{ github.ref_name }}
40
VERSION: ${{ needs.version.outputs.version }}
41
- run: gh release create "$TAG" -t "$VERSION" --notes-from-tag
+ run: |
42
+ if gh release view "$TAG" > /dev/null 2>&1; then
43
+ echo "Release $TAG already exists, skipping creation"
44
+ else
45
+ gh release create "$TAG" -t "$VERSION" --notes-from-tag
46
+ fi
47
- name: Download artifacts
48
uses: actions/download-artifact@v4
49
with:
0 commit comments