fix(script): correct patch version for __about__.py

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
This commit is contained in:
Aaron
2023-07-20 18:34:53 -04:00
parent ea07ff6ce9
commit 5189d2e721

View File

@@ -64,6 +64,10 @@ release_package() {
jq --arg release_version "${version}" '.version = $release_version' < package.json > package.json.tmp && mv package.json.tmp package.json
if [[ $release == 'patch' ]]; then
hatch version "${version}"
fi
towncrier build --yes --version "${version}"
git add CHANGELOG.md changelog.d src/openllm/__about__.py package.json
git commit -S -sm "infra: prepare for release ${version} [generated]"