Skip to content

Commit bef3d32

Browse files
Merge branch 'develop'
2 parents 3124fa9 + 0395f83 commit bef3d32

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/nbgv_prepare_release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,16 @@ jobs:
9292
echo "tag=$(nbgv get-version -v GitTagName)" >> "$GITHUB_OUTPUT"
9393
echo "semver=$(nbgv get-version -v SemVer2)" >> "$GITHUB_OUTPUT"
9494
95-
# 8️⃣ Create a throw-away bootstrap tag if this repo has none
95+
# 8️⃣ Create + push a bootstrap tag the very first time
9696
- name: 🏷️ Bootstrap first tag when repo is tag-less
9797
run: |
9898
if ! git tag --list | grep -q . ; then
9999
echo "No tags found – creating bootstrap tag 0.0.0"
100-
git tag 0.0.0 # lightweight tag on current HEAD
100+
git tag 0.0.0
101+
# push just this tag so the changelog action can diff
102+
git push origin 0.0.0
101103
fi
102104
103-
104105
# 9️⃣ Build & upload release-notes.md (uses commitMode flag)
105106
- name: 📝 Generate release notes
106107
id: changelog

0 commit comments

Comments
 (0)