-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18450 from galaxyproject/bernt-matthias-patch-1
Minor additions to release process
- Loading branch information
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|