Skip to content
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

Minor additions to release process #18450

Merged
merged 3 commits into from
Jun 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion doc/source/dev/create_release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,12 @@ and that you have configured your remotes so that you can push to the configured
The script should abort gracefully if that is not the case.

Follow these steps:
0. Enable the push URL of the galaxyproject git remote if you have disabled it (e.g. `git remote set-url --push upstream [email protected]:galaxyproject/galaxy.git`) and disable any pre-commit hooks you might have
1. Check out the branch from which you want to create a release, e.g. release_23.0: `git checkout release_23.0`
2. Activate your local virtualenv with Galaxy's dev requirements: `. .venv/bin/activate`
3. Update Galaxy's dev dependencies (if you haven't done this in a while): `pip install -r lib/galaxy/dependencies/dev-requirements.txt`
4. You need a personal access token from github (only needs public read permissions).
5. `GITHUB_AUTH=$YOUR_PAT_FROM_STEP_3 galaxy-release-util create-release --new-version 23.0.1 --last-commit v23.0`
5. `GITHUB_AUTH=$YOUR_PAT_FROM_STEP_4 galaxy-release-util create-release --new-version 23.0.1 --last-commit v23.0`
6. Follow along the prompts and make sure the proposed changes look correct

When the script is finished you should find a new tag in the GitHub interface, as well as updated release and dev branches.
Expand Down