fix: v2 release tag automation

This commit is contained in:
jdx 2025-07-27 13:57:57 -05:00
parent fa0ff8d11f
commit cf44a563b9
No known key found for this signature in database
GPG key ID: 584DADE86724B407

View file

@ -36,7 +36,12 @@ git config user.name mise-en-dev
git config user.email 123107610+mise-en-dev@users.noreply.github.com
# Update package.json version
npm version "${version#v}" --no-git-tag-version
cur_pkg_version="$(jq -r .version package.json)"
if [ "$cur_pkg_version" != "${version#v}" ]; then
npm version "${version#v}" --no-git-tag-version
else
echo "Package.json already at version ${version#v}"
fi
git add package.json package-lock.json
git status