Skip to content

Commit ab5a003

Browse files
authored
delete nightly in the right place (#335)
Signed-off-by: omrishiv <[email protected]>
1 parent dd3b226 commit ab5a003

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/nightly.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838
TAG="${MAJOR_VERSION}.${MINOR_VERSION}.0-nightly.$(date +'%Y%m%d')"
3939
git tag -a $TAG -m "$TAG: nightly build"
4040
git push origin $TAG
41-
git push --delete origin $prev_tag
4241
- name: Find previous nightly
4342
run: |
4443
prev_tag=$(git tag | grep "nightly" | sort -r --version-sort | head -n 2 | tail -n 1)
4544
echo "PREVIOUS_NIGHTLY_TAG=$prev_tag" >> $GITHUB_ENV
45+
git push --delete origin $prev_tag
4646
- name: 'Clean up nightly releases'
4747
uses: actions/github-script@v7
4848
with:

0 commit comments

Comments
 (0)