We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e435ab8 commit d2aac8dCopy full SHA for d2aac8d
.github/workflows/release.yml
@@ -45,6 +45,10 @@ jobs:
45
chmod +x .github/workflows/scripts/generate-release-notes.sh
46
# Get the previous tag for changelog generation
47
PREVIOUS_TAG=$(git describe --tags --abbrev=0 ${{ steps.version.outputs.tag }}^ 2>/dev/null || echo "")
48
+ # Default to v0.0.0 if no previous tag is found (e.g., first release)
49
+ if [ -z "$PREVIOUS_TAG" ]; then
50
+ PREVIOUS_TAG="v0.0.0"
51
+ fi
52
.github/workflows/scripts/generate-release-notes.sh ${{ steps.version.outputs.tag }} "$PREVIOUS_TAG"
53
54
- name: Create GitHub Release
0 commit comments