Skip to content

Commit

Permalink
fixes #29
Browse files Browse the repository at this point in the history
  • Loading branch information
IamLizu committed Jul 3, 2023
1 parent 7140e7b commit 5ac1bfa
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions release-tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ fi
# Run the version bumping script
new_version=$($python_executable utils/bump_version.py)

# Commit the updated version
echo "Committing version $new_version"
git add pyproject.toml
git commit -S -m "release $new_version"


# Tag the release
echo "Tagging version $new_version"
Expand All @@ -27,12 +32,10 @@ git tag -s "$new_version" -m "release $new_version"
echo "Generating changelog"
git-changelog -o CHANGELOG.md


# Commit the updated version & changelog
echo "Committing version $new_version & changelog"
git add pyproject.toml
# Commit (ammend) the changelog
echo "Committing changelog"
git add CHANGELOG.md
git commit -S -m "release $new_version"
git commit --amend --no-edit


# Push the commit and tag
Expand Down

0 comments on commit 5ac1bfa

Please # to comment.