Skip to content

Commit

Permalink
ci: fix previous tag for nightly release (databendlabs#14478)
Browse files Browse the repository at this point in the history
  • Loading branch information
everpcpc authored Jan 26, 2024
1 parent 068d23c commit 376239a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ jobs:
gh release create ${{ steps.bump.outputs.tag }} --target ${{ steps.bump.outputs.sha }} --generate-notes --notes-start-tag $previous --latest
else
echo "Nightly release"
gh release create ${{ steps.bump.outputs.tag }} --target ${{ steps.bump.outputs.sha }} --generate-notes --prerelease
previous=$(gh release list --limit 1 | cut -f 1)
gh release create ${{ steps.bump.outputs.tag }} --target ${{ steps.bump.outputs.sha }} --generate-notes --notes-start-tag $previous --prerelease
fi
changelog:
Expand Down

0 comments on commit 376239a

Please sign in to comment.