mirror of
https://github.com/PlaneQuery/OpenAirframes.git
synced 2026-11-17 04:01:23 +01:00
remove existing release
This commit is contained in:
1 parent
43b07942b0
commit
bccc634158
1 file changed
+7
@@ -321,6 +321,13 @@ jobs:
|
||||
echo "zip_basename=$ZIP_BASENAME" >> "$GITHUB_OUTPUT"
|
||||
echo "name=planequery-aircraft snapshot ($DATE)${BRANCH_SUFFIX}" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Delete existing release if exists
|
||||
run: |
|
||||
gh release delete "${{ steps.meta.outputs.tag }}" --yes 2>/dev/null || true
|
||||
git push --delete origin "refs/tags/${{ steps.meta.outputs.tag }}" 2>/dev/null || true
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Create GitHub Release and upload assets
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user