diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 4ea72a85..d45f632b 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,6 @@ [bumpversion] -current_version = 0.1.8 +current_version = 0.2.0 + tag = True commit = True diff --git a/.github/workflows/bump.yml b/.github/workflows/bump.yml index e33d3d84..c31656ff 100644 --- a/.github/workflows/bump.yml +++ b/.github/workflows/bump.yml @@ -18,8 +18,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2 - with: - fetch-depth: 0 # Fetch all history for all branches and tags + # with: + # fetch-depth: 0 # Fetch all history for all branches and tags - name: Setup PDM uses: pdm-project/setup-pdm@v2 @@ -41,8 +41,12 @@ jobs: - name: Apply bumpversion minor run: | git checkout -b admin/version-bump - bumpversion minor - git push origin admin/version-bump + bumpversion minor --verbose + + - name: Create new branch + uses: stefanzweifel/git-auto-commit-action@v5 + branch: admin/version-bump + create_branch: true - name: Create Pull Request uses: peter-evans/create-pull-request@v5 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2b44620c..379c298c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -24,20 +24,11 @@ jobs: with: python-version: "3.10" - - name: Install bumpversion - run: pip install bumpversion - - name: Configure Git run: | git config user.name github-actions git config user.email github-actions@github.com - - name: Apply bumpversion minor - run: | - bumpversion minor - git push - git push --tags - - name: Build package run: pdm build diff --git a/cyto_dl/__init__.py b/cyto_dl/__init__.py index 4ae4758a..7c1de0d8 100644 --- a/cyto_dl/__init__.py +++ b/cyto_dl/__init__.py @@ -1,6 +1,8 @@ + __version__ = "0.1.8" + # silence bio packages warnings import logging import warnings diff --git a/pyproject.toml b/pyproject.toml index a0d9b4d0..ec6e7d4a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,9 @@ build-backend = "pdm.pep517.api" [project] name = "cyto-dl" -version = "0.1.8" + +version = "0.2.0" + description = """\ Collection of representation learning models, techniques, callbacks, utils, \ used to create latent variable models of cell shape, morphology and \ @@ -72,7 +74,7 @@ torchserve = [ ] pcloud = [ "pyntcloud>=0.3.1", - "aicsshparam>=0.1.7", + "aicsshparam>=0.2.0", "torch-geometric>=2.3.1", "point-cloud-utils>=0.29.6", "geomloss>=0.2.6",