Last active
January 21, 2022 20:45
-
-
Save gwbischof/e09b96398da89f11f34f9c2b46629857 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=================== | |
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