Update to delete nightly tag before creating
This commit is contained in:
parent
2290c73fe4
commit
ccb4b5a4d9
1 changed files with 6 additions and 0 deletions
6
.github/workflows/nightly.yml
vendored
6
.github/workflows/nightly.yml
vendored
|
|
@ -155,6 +155,12 @@ jobs:
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Delete existing nightly release and tag to avoid conflicts
|
||||||
|
echo "Deleting existing nightly release and tag..."
|
||||||
|
gh release delete nightly --cleanup-tag -y || true
|
||||||
|
git push origin :refs/tags/nightly || true
|
||||||
|
|
||||||
gh release create nightly \
|
gh release create nightly \
|
||||||
--title "Nightly Build" \
|
--title "Nightly Build" \
|
||||||
--notes "$NOTES" \
|
--notes "$NOTES" \
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue