mirror of
https://github.com/bentoml/OpenLLM.git
synced 2026-05-04 13:52:46 -04:00
fix(script): correct patch version for __about__.py
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
This commit is contained in:
4
.github/actions/release.sh
vendored
4
.github/actions/release.sh
vendored
@@ -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]"
|
||||
|
||||
Reference in New Issue
Block a user