Skip to content

Commit e2e2559

Browse files
committed
fix: Fixes task release to pull tags before releasing
1 parent 4538aa2 commit e2e2559

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
./glean
1+
glean

taskfile.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,16 @@ tasks:
4747
# Ensure we're on main and up to date
4848
- git checkout main
4949
- git pull origin main
50+
- git fetch --tags
5051

5152
# Run checks
5253
- task: check
5354

55+
# Show current version and commits since last release
56+
- echo "Current version is $(svu current)"
57+
- echo "Commits since last release:"
58+
- git log $(svu current)..HEAD --oneline
59+
5460
# Get the next version
5561
- echo "Next version will be $(svu next)"
5662
- echo "Press Ctrl+C to cancel or wait 5 seconds to continue..."

0 commit comments

Comments
 (0)