mirror of
https://github.com/PlaneQuery/OpenAirframes.git
synced 2026-07-29 21:08:50 +02:00
remove existing release
This commit is contained in:
@@ -321,6 +321,13 @@ jobs:
|
|||||||
echo "zip_basename=$ZIP_BASENAME" >> "$GITHUB_OUTPUT"
|
echo "zip_basename=$ZIP_BASENAME" >> "$GITHUB_OUTPUT"
|
||||||
echo "name=planequery-aircraft snapshot ($DATE)${BRANCH_SUFFIX}" >> "$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
|
- name: Create GitHub Release and upload assets
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user