diff --git a/.github/scripts/release.sh b/.github/scripts/release.sh index da55910..19f40eb 100755 --- a/.github/scripts/release.sh +++ b/.github/scripts/release.sh @@ -11,6 +11,7 @@ CHGLOG_FILE="${CHGLOG_FILE:-CHANGELOG.md}" # update package version uvx --from=toml-cli toml set --toml-path=pyproject.toml project.version "${TARGET_VERSION}" +uv lock --upgrade-package docling-serve # collect release notes REL_NOTES=$(mktemp) @@ -30,7 +31,7 @@ mv "${TMP_CHGLOG}" "${CHGLOG_FILE}" # push changes git config --global user.name 'github-actions[bot]' git config --global user.email 'github-actions[bot]@users.noreply.github.com' -git add pyproject.toml "${CHGLOG_FILE}" +git add pyproject.toml uv.lock "${CHGLOG_FILE}" COMMIT_MSG="chore: bump version to ${TARGET_VERSION} [skip ci]" git commit -m "${COMMIT_MSG}" git push origin main