Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.55 KB

RELEASE.md

File metadata and controls

45 lines (32 loc) · 1.55 KB

Release Process

Preparation

Version Bump and Changelog

Bump the version in pants_jupyter_plugin/__init__.py and run tox -echangelog to update CHANGES.md. Delete any entries that aren't likely to be useful to consumers and then open a PR with these changes and land it on https://github.com/pantsbuild/pants-jupyter-plugin main.

Release

Push Release Tag

Sync a local branch with https://github.com/pantsbuild/pants-jupyter-plugin main and confirm it has the version bump and changelog update as the tip commit:

$ git log --stat -1 HEAD
commit 1ce9fa95893b05bc0bc3a9a7d9c415deeb14d447 (HEAD -> main, origin/main, origin/HEAD)
Author: John Sirois <[email protected]>
Date:   Thu Mar 4 12:36:53 2021 -0800

    Prepare the 0.0.1 release. (#21)

 pants_jupyter_plugin/__init__.py |   2 +-
 CHANGES.md                       |  41 +++++++
 2 files changed, 42 insertions(+), 1 deletions(-)

Tag the release as v<version> and push the tag to https://github.com/pantsbuild/pants-jupyter-plugin main:

$ git tag --sign -am 'Release 0.0.1' v0.0.1
$ git push --tags https://github.com/pantsbuild/pants-jupyter-plugin HEAD:main

The release to PyPI is automated but requires approval from at least one Core team member. These folks will all get an email with a link to the GitHub release workflow to do this. Alternatively, they can open the Release workflow here and navigate to the release approval widget.