Skip to content

Commit 44a872b

Browse files
committed
[build] nightly tag is getting in the way of the auto-changelog generation
1 parent 1ef9f18 commit 44a872b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/stage-release.yml

+8
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ jobs:
5050
distribution: 'temurin'
5151
- name: Setup curl for Ubuntu
5252
run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev
53+
- name: Delete nightly tag
54+
run: |
55+
if git rev-parse --verify refs/tags/nightly >/dev/null 2>&1; then
56+
echo "Deleting nightly tag"
57+
git push origin --delete refs/tags/nightly
58+
else
59+
echo "No nightly tag found - nothing to delete"
60+
fi
5361
- name: Build and Stage Packages
5462
run: ./go all:package[--config=release]
5563
- name: Generate Draft Release

0 commit comments

Comments
 (0)