Skip to content

Commit

Permalink
Request Python 3.12 in the release script (#4384)
Browse files Browse the repository at this point in the history
Otherwise, if another version is active we fail because Rooster requires
3.12
  • Loading branch information
zanieb committed Jun 18, 2024
1 parent 20b44f3 commit 0b0a047
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ echo "Updating metadata with rooster..."
cd "$project_root"

# Update the preview changelog
uv tool run --from 'rooster-blue>=0.0.7' --isolated -- \
uv tool run --from 'rooster-blue>=0.0.7' --python 3.12 --isolated -- \
rooster release "$@" \
--only-sections preview \
--changelog-file PREVIEW-CHANGELOG.md \
--no-update-pyproject --no-update-version-files

# Update the real changelog
uv tool run --from 'rooster-blue>=0.0.7' --isolated -- \
uv tool run --from 'rooster-blue>=0.0.7' --python 3.12 --isolated -- \
rooster release "$@" --without-sections preview

echo "Updating lockfile..."
Expand Down

0 comments on commit 0b0a047

Please sign in to comment.