From 098ab3b64cbdc6cd7aca611081cdf7da490bba44 Mon Sep 17 00:00:00 2001 From: Alejandro Companioni Date: Mon, 26 Aug 2024 20:24:19 -0400 Subject: [PATCH] fix --- build/release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/release.sh b/build/release.sh index 9282dd1f..1d65c88c 100755 --- a/build/release.sh +++ b/build/release.sh @@ -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