Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
acompa committed Aug 27, 2024
1 parent 5d8a8e9 commit 098ab3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ if [[ ! " ${VALID_VERSIONS[@]} " =~ " $1 " ]]; then
exit 1
fi

TAG_NAME=$(poetry version -s)
git checkout main && git pull
poetry version $1
TAG_NAME=v$(poetry version -s)
git add pyproject.toml
git commit -m "Bump version to $TAG_NAME"
git push origin main

git tag $TAG_NAME && git push origin tag $TAG_NAME
git tag v$TAG_NAME && git push origin tag v$TAG_NAME

0 comments on commit 098ab3b

Please sign in to comment.