Skip to content

Commit

Permalink
Bump version to 3.0 in preparation for push to Dockerhub
Browse files Browse the repository at this point in the history
  • Loading branch information
kheal committed Jan 8, 2025
1 parent d6d4285 commit 3be4c20
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 18 deletions.
11 changes: 7 additions & 4 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.2.3
current_version = 3.0.0
commit = False
tag = False

Expand All @@ -12,15 +12,18 @@ values =
rc2
rc3

# Updates the repo version number in the README and setup.py
[bumpversion:file:README.md]

[bumpversion:file:setup.py]

[bumpversion:file:metaMS/__init__.py]

# Updates the GCMS version number in the docs
[bumpversion:file:docs/gcms_metabolomics/index.rst]

[bumpversion:file:docs/gcms_metabolomics/README_GCMS.md]

[bumpversion:file:MAINTAINERS.md]

# Updates the docker image version in the wdls
[bumpversion:file:wdl/metaMS_gcms.wdl]

[bumpversion:file:wdl/metaMS_lcmslipidomics.wdl]
2 changes: 1 addition & 1 deletion MAINTAINERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ This guide provides instructions for developers working on the project. It cover
The following steps should be followed in order

### Bump Version Numbers
The versioning of the repo, docker image and the GC/MS workflow are currently 2.2.3.
The versioning of the repo, docker image and the GC/MS workflow are currently 3.0.0.
The version of the lipid workflow is currently 1.0.0.

To bump *both* the repo and the lipid workflow, run one of the following commands.
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ docker-nmdc:
@docker image tag microbiomedata/metams:$(version) microbiomedata/metams:latest
@docker push microbiomedata/metams:latest

echo-version:
@echo $(version)

docker-build:

docker build -t microbiomedata/metams:latest .
Expand All @@ -89,9 +92,6 @@ wdl-run-gcms :
miniwdl run wdl/metaMS_gcms.wdl -i wdl/metams_input_gcms.json --verbose --no-cache --copy-input-files

wdl-run-lipid :
#TODO KRH: remove the docker-build-local when the docker image is available in dockerhub and
# update the docker image in the wdl file. Good to rebuild for each run while in development
make docker-build-local
miniwdl run wdl/metaMS_lcmslipidomics.wdl -i wdl/metams_input_lipidomics.json --verbose --no-cache --copy-input-files

convert_lipid_rst_to_md:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

## Current Version

### `2.2.3`
### `3.0.0`

## Available Workflows

Expand Down
2 changes: 1 addition & 1 deletion docs/gcms_metabolomics/README_GCMS.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

## Current Version

### `2.2.3`
### `3.0.0`

### Data input formats

Expand Down
2 changes: 1 addition & 1 deletion docs/gcms_metabolomics/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Outputs
Version History
---------------

- 2.2.3
- 3.0.0

Point of contact
----------------
Expand Down
4 changes: 2 additions & 2 deletions metaMS/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

__version__ = '2.2.3'
__version__ = '3.0.0'
__doc__ = '''
# Table of Contents
- Introduction
Expand All @@ -24,7 +24,7 @@
## Current Version
### `2.2.3`
### `3.0.0`
### Data input formats
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# This call to setup() does all the work
setup(
name="metaMS",
version="2.2.3",
version="3.0.0",
description="Data processing, and annotation for metabolomics analysis by low-resolution GC-MS",
long_description=README,
long_description_content_type="text/markdown",
Expand Down
3 changes: 1 addition & 2 deletions wdl/metaMS_gcms.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ task runMetaMSGCMS {
}

runtime {
docker: "local-metams:latest"
#TODO KRH: Update to pushed version when available
docker: "microbiomedata/metams:3.0.0"
}
}
3 changes: 1 addition & 2 deletions wdl/metaMS_lcmslipidomics.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ task runMetaMSLCMSLipidomics {
}

runtime {
docker: "local-metams:latest"
#TODO KRH: Update to pushed version when available
docker: "microbiomedata/metams:3.0.0"
}
}

0 comments on commit 3be4c20

Please sign in to comment.