-
Notifications
You must be signed in to change notification settings - Fork 194
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
Automate Releases #319
Comments
Yes! And as just discussed on Slack, we could take advantage of this to do a load of nice extra automation: Zenodo APIsZenodo DOIs are great, and the GitHub integration to generate them when GitHub releases are made works really nicely. However, the DOI is generated after the release is made, meaning that this new DOI can't be in the repo code. It is possible to reserve Zenodo DOIs, however not with the automated GitHub integration - it can be done with the API though, see https://developers.zenodo.org/#representation (see With automated builds, we can have a GitHub Action that is triggered when Pipeline version numbersPipeline version numbers need to be updated twice for every release - first for the release itself, then to bump to the next dev version. Typically the first of these just involves removing If automating releases, we could automatically run ...anything else we can automate? |
Sounds quite interesting, I'd love to see that too :-D. |
x-ref #361, because the CFF would need to be updated with the correct DOI before the release as well. |
Started to model the release process for nf-core pipelines with BPMN, so we have some documentation of it :D (not complete yet, but feel free to hit me with the processes that are missing) The idea is that the GitHub Actions will follow this release process specification and make the process more transparent. |
Should we also have a comment (using the citation file maybe?) that shows up in the README issuing the person using the pipeline to please also cite the DOI? |
I think this looks pretty amazing already (thanks @sven1103 for drawing this out too)! I believe we can parse the citation file format to also add a section (when necessary, it might be already present there) to the readme to cite the proper DOI using GitHub Actions ? That way we have both: an updated Readme with easy-to-read text for users, the standardized citation file format file for parsing/automated lookups, without the need to update the readme manually in such cases. |
And automate the bibtex file too.. |
For reference, just seen this GitHub Actions code here |
Since we already insist on having people work on
dev
branches &master
branches only incorporating stable code, we could also produce a way of making automated releases too:https://github.com/semantic-release/semantic-release
This would only require:
master
branch protected for everyone, except for PRs coming fromdev
master
except for releases that have been tested ondev
(which we anyways do)Could then configure the method above to make a release whenever coming from
master
and something has been changed. If people then also use theCHANGELOG.md
, it would automatically do proper and nice releases :-)The text was updated successfully, but these errors were encountered: