diff --git a/update-version.sh b/update-version.sh index 71c4ed4..9d0b19b 100644 --- a/update-version.sh +++ b/update-version.sh @@ -18,7 +18,13 @@ jq ".version = \"$new_version\"" package.json > temp.json && mv temp.json packag # Optional: Commit and tag git config --global user.email ${email} git config --global user.name ${user} +echo ${email} +echo ${user} git add package.json +echo "adding succeeded" git commit -m "Bump version to $new_version" +echo "commiting succeeded" git tag -a "v$new_version" -m "Release version $new_version" -git push main HEAD --tags \ No newline at end of file +echo "tagging succeeded" +git push main HEAD --tags +echo "pushing succeeded" \ No newline at end of file