Skip to content

Instantly share code, notes, and snippets.

@gwbischof
Last active January 21, 2022 20:45
Show Gist options
  • Save gwbischof/e09b96398da89f11f34f9c2b46629857 to your computer and use it in GitHub Desktop.
Save gwbischof/e09b96398da89f11f34f9c2b46629857 to your computer and use it in GitHub Desktop.
===================
Publishing Releases
===================
# Make a new branch called rel-VER for release notes.
# Make a PR called release notes VER.
# Merge release notes PR.
# Switch to main branch and pull.
# Run publish script if pypi workflow is not setup.
.. code-block:: bash
./publish VER REMOTE MAIN_BRANCH
.. code-block:: bash
./publish v0.3.0 origin master
# If there is a pypi workflow:
.. code-block:: bash
git commit --allow-empty -m "REL: $VERSION"
git tag -a $VERSION
git push $REMOTE $MAIN_BRANCH
git push $REMOTE $VERSION
# Click create release from tag on Github
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment