diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 29fc5b2f..43fbafb7 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.1.2 +current_version = 0.1.3 commit = True tag = False parse = (?P\d+)\.(?P\d+)\.(?P\d+)(\-(?P[a-z]+)(?P\d+))? diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 615011d4..82fae5a6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -145,6 +145,13 @@ jobs: TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} run: twine upload dist/* + - name: Get version + if: steps.check_version.outputs.version_changed == 'true' + id: get_version + run: | + version=$(cat VERSION) + echo "version=$version" >> $GITHUB_OUTPUT + - name: Create Release if: steps.check_version.outputs.version_changed == 'true' uses: actions/create-release@v1 @@ -166,10 +173,3 @@ jobs: **PyPI URL:** https://pypi.org/project/gemma.permifrost/ draft: false prerelease: false - - - name: Get version - if: steps.check_version.outputs.version_changed == 'true' - id: get_version - run: | - version=$(cat VERSION) - echo "version=$version" >> $GITHUB_OUTPUT diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6ac1ca5b..103f50c1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,16 +8,6 @@ on: - 'tests/**' - 'setup.py' - 'pyproject.toml' - push: - branches: - - main - - master - paths: - - 'VERSION' - - 'src/**' - - 'tests/**' - - 'setup.py' - - 'pyproject.toml' env: PYTHON_VERSION: "3.10" diff --git a/VERSION b/VERSION index d917d3e2..7693c96b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.2 +0.1.3 \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index e72343c8..b7d3efff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "gemma.permifrost" -version = "0.1.2" +version = "0.1.3" description = "Permifrost Permissions - Fork by Gemma Analytics" readme = "README.md" license = {text = "MIT"} diff --git a/src/permifrost/__init__.py b/src/permifrost/__init__.py index faea0930..7ddb6cdb 100644 --- a/src/permifrost/__init__.py +++ b/src/permifrost/__init__.py @@ -1,5 +1,5 @@ # Managed by bumpversion -__version__ = "0.1.2" +__version__ = "0.1.3" from permifrost.error import SpecLoadingError