-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use bumpver to manage versions
- Loading branch information
Showing
4 changed files
with
48 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
VERSION=v$BUMPVER_NEW_VERSION | ||
|
||
git tag v$VERSION -m "Release v$VERSION 🚀" | ||
git push --follow-tags |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
VERSION=v$BUMPVER_NEW_VERSION | ||
|
||
# Skip alpha/beta/rc changelog generation | ||
if [[ $VERSION == *"alpha"* ]] || [[ $VERSION == *"beta"* ]] || [[ $VERSION == *"rc"* ]]; then | ||
echo "Skipping changelog generation for alpha/beta/rc release" | ||
else | ||
echo "Generating changelog for $VERSION" | ||
# Check that GITHUB_TOKEN is set | ||
if [ -z "$GITHUB_TOKEN" ]; then | ||
echo "GITHUB_TOKEN is not set. Trying to fetch it from gh" | ||
GITHUB_TOKEN=$(gh auth token) | ||
fi | ||
git cliff -o CHANGELOG.md --tag $VERSION | ||
git add CHANGELOG.md | ||
fi | ||
|
||
uv sync | ||
git add uv.lock |
This file was deleted.
Oops, something went wrong.