-
Notifications
You must be signed in to change notification settings - Fork 129
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
Update release process #913
Conversation
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.
This will make life a bit easier for us! As part of this PR, could you also remove references to the "release" branch from the DEV_DOCS and add a link to how to manually rebuild the Docker image (https://github.com/nextstrain/docker-base#rebuilding-an-image-and-pushing-to-docker-hub)?
Running this workflow against TestPyPI followed by PyPI does not work. Publishing to TestPyPI was desirable initially when testing this out, but we ran into some unintended consequences when publishing to TestPyPI during an actual release. On top of publishing as a final step, this workflow also does creates a git commit on master+release and creates a new tag, regardless of which PyPI instance is targeted. So, by running the 15.0.2 release against TestPyPI, the tag is created and a subsequent 15.0.2 release against PyPI would fail. We have already released to PyPI using this so there is not much benefit keeping TestPyPI around anymore.
With the new GitHub Actions release process, this is no longer necessary since any failed tests will prevent tags from pushing. A subsequent run of the workflow will start from a clean slate.
The release process can function fine without a release branch, and he version tags should be sufficient for anyone looking for the latest release in git history. If anything, we can replace the release branch with a git tag which is updated by the release script, but I don't see any immediate need for one.
b7e2903
to
ebcad79
Compare
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.
Looks good to me! I'm sure we can refine more on the next release. :)
Oops, I meant to rebase commits before merging, but no biggie. |
The removal of the |
…ase" branch The "release" branch was recently removed.¹ Instead, use the Git tag for the latest stable version released to PyPI. There's a larger discussion to be had about if it makes any sense any more for Augur to be installed from Git instead of PyPI (and correspondingly, Auspice from NPM), but that's for another time. ¹ nextstrain/augur#913
Description of proposed changes
Some changes prompted by the release of 15.0.2 – a first using the GitHub Actions workflow, which had some unexpected bumps.
Related issue(s)
N/A
Testing
Unable to test until next release.
Pre-merge
Post-merge
release
branch