From d6727df61632363765d8d25ab642632e0a472f19 Mon Sep 17 00:00:00 2001 From: bshifaw Date: Tue, 17 Oct 2023 14:37:46 -0400 Subject: [PATCH] bumpversion to 2.1.1 (#275) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Added steps to make release in dev docs * Bump version: 2.0.0 → 2.1.0 * Bump version: 2.1.0 → 2.1.1 * added bumpversion example usage --------- Co-authored-by: bshifaw --- .bumpversion.cfg | 2 +- developer_docs/README.md | 6 +++--- developer_docs/publish_release.md | 7 +++++++ pyproject.toml | 2 +- setup.py | 2 +- src/cromshell/__main__.py | 2 +- 6 files changed, 14 insertions(+), 7 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 4014fbb2..02854053 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 2.0.0 +current_version = 2.1.1 commit = True tag = True tag_name = {new_version} diff --git a/developer_docs/README.md b/developer_docs/README.md index 87ecc65f..33d130e1 100644 --- a/developer_docs/README.md +++ b/developer_docs/README.md @@ -25,10 +25,10 @@ the Cromshell development environment can be set up by the following steps: After following the above development environment setup steps, cromshell should have been added to your path. -Run `cromshell-alpha --help` to confirm installation. +Run `cromshell --help` to confirm installation. - > cromshell-alpha --help - Usage: cromshell-alpha [OPTIONS] COMMAND [ARGS]... + > cromshell --help + Usage: cromshell [OPTIONS] COMMAND [ARGS]... Cromshell is a script for submitting workflows to a cromwell server and monitoring / querying their results. diff --git a/developer_docs/publish_release.md b/developer_docs/publish_release.md index 9767c088..178662c2 100644 --- a/developer_docs/publish_release.md +++ b/developer_docs/publish_release.md @@ -2,6 +2,13 @@ Cromshell can be installed from a brew tap or through pypi. Instructions on how to publish to these repos are detailed below. + +## Steps Summary +1. Set the correct version for the repository using bumpversion and merge changes to main. (e.g. `bumpversion --new-version 2.1.1 minor`) +2. Create a GitHub release. The release notes may be subdivided by "Feature Additions" and "Bug Fixes". +3. Publish on Brew. +4. Publish on PyPi. + ## Brew Tap Regular update of broadinstitute/dsp tap is needed as new releases of Cromshell are made. diff --git a/pyproject.toml b/pyproject.toml index 7ee37619..2f2d20b8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta" [project] name = "cromshell" # Version number is automatically set via bumpversion. DO NOT MODIFY: -version = "2.0.0" +version = "2.1.1" readme = "README.md" diff --git a/setup.py b/setup.py index 61ae9d91..c4407e65 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ # https://blog.ionelmc.ro/2014/05/25/python-packaging/#the-structure # Version number is automatically set via bumpversion. DO NOT MODIFY: -version = "2.0.0" +version = "2.1.1" setup( name="cromshell", version=version, diff --git a/src/cromshell/__main__.py b/src/cromshell/__main__.py index 22052e43..6a753b58 100644 --- a/src/cromshell/__main__.py +++ b/src/cromshell/__main__.py @@ -23,7 +23,7 @@ # Version number is automatically set via bumpversion. # DO NOT MODIFY: -__version__ = "2.0.0" +__version__ = "2.1.1" # Create a logger for this module: LOGGER = logging.getLogger(__name__)