-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: add just command for releasing goose #55
base: main
Are you sure you want to change the base?
Conversation
163eae3
to
7445677
Compare
justfile
Outdated
release version: | ||
uvx --from=toml-cli toml set --toml-path=pyproject.toml project.version {{version}} | ||
ai_exchange_version=$(just ai-exchange-version) && sed -i '' 's/ai-exchange>=.*/ai-exchange>='"${ai_exchange_version}"'\",/' pyproject.toml | ||
git co -b release-version-{{version}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should use the full git checkout
command since this would break for anyone who doesn't have git co
as an alias for checkout (or is mapped to something differently altogether)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
justfile
Outdated
uvx --from=toml-cli toml set --toml-path=pyproject.toml project.version {{version}} | ||
ai_exchange_version=$(just ai-exchange-version) && sed -i '' 's/ai-exchange>=.*/ai-exchange>='"${ai_exchange_version}"'\",/' pyproject.toml | ||
git co -b release-version-{{version}} | ||
git add . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll want to be more specific here - too easy to have this accidentally commit something unintended. Just pyproject.toml should be enough?
fcf5957
to
2b3ef77
Compare
2b3ef77
to
2783cba
Compare
Add just commands for creating a release PR (also updates ai-exchange package to latest), tagging, and pushing tags.