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

doc: release process #84

Open
mmcloughlin opened this issue Apr 5, 2021 · 1 comment
Open

doc: release process #84

mmcloughlin opened this issue Apr 5, 2021 · 1 comment
Labels
cleanup General cleanup and code health doc Improvements or additions to documentation low Low priority

Comments

@mmcloughlin
Copy link
Owner

Document release process.

@mmcloughlin mmcloughlin added cleanup General cleanup and code health low Low priority labels Apr 5, 2021
@mmcloughlin
Copy link
Owner Author

mmcloughlin commented Apr 5, 2021

Release Process

1. Version Bump

Use version bump script:

./script/bump <version>

Create a pull request with the changes:

hub pull-request --push

Example: #86. Merge the pull request when CI passes.

2. Tag

Run checks to confirm the release is ready to tag.

go run ./internal/tools/release check

Create the tag (with the v prefix):

git tag -a v<version> -m "release <version>"

When ready, push to remote:

git push origin v<version>

3. Github Release

Pushing the tag should trigger the release action.

For example: https://github.com/mmcloughlin/addchain/actions/runs/718582318.

This will create a draft release. Review manually and publish.

4. Zenodo Upload

Use the release tool to upload to Zenodo:

$ go run ./internal/tools/release upload
release: downloaded zip archive bytes 181749
release: loaded zenodo metadata from "/Users/mbm/Development/addchain/.zenodo.json"
release: updated zenodo metadata
release: cleared all files from zenodo deposit
release: uploaded file "addchain_0.2.0.zip"
release: publish skipped: review and publish at "https://zenodo.org/deposit/4662389"

Browse to the provided link to review and publish manaully.

@mmcloughlin mmcloughlin added the doc Improvements or additions to documentation label May 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup General cleanup and code health doc Improvements or additions to documentation low Low priority
Projects
None yet
Development

No branches or pull requests

1 participant