diff --git a/.github/workflows/pipy_release.yml b/.github/workflows/pipy_release.yml index 866b722..1b85547 100644 --- a/.github/workflows/pipy_release.yml +++ b/.github/workflows/pipy_release.yml @@ -22,7 +22,7 @@ jobs: run: echo ::set-output name=TAG_NAME::$(echo $GITHUB_REF | cut -d / -f 3) - name: Update version run: | - sed -i "s/{{VERSION_PLACEHOLDER}}/${{ steps.tag.outputs.TAG_NAME }}/g" src/__init__.py + sed -i "s/{{VERSION_PLACEHOLDER}}/${{ steps.tag.outputs.TAG_NAME }}/g" src/jaqpot_api_client/__about__.py - name: Build a binary wheel run: >- hatch build diff --git a/dist/jaqpot_api_client-1.0.0-py3-none-any.whl b/dist/jaqpot_api_client-1.0.0-py3-none-any.whl new file mode 100644 index 0000000..5a112e0 Binary files /dev/null and b/dist/jaqpot_api_client-1.0.0-py3-none-any.whl differ diff --git a/dist/jaqpot_api_client-1.0.0.tar.gz b/dist/jaqpot_api_client-1.0.0.tar.gz new file mode 100644 index 0000000..7ca820b Binary files /dev/null and b/dist/jaqpot_api_client-1.0.0.tar.gz differ diff --git a/pyproject.toml b/pyproject.toml index cc3533f..e24c9ba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,7 @@ Issues = "https://github.com/ntua-unit-of-control-and-informatics/jaqpot-api-cli Source = "https://github.com/ntua-unit-of-control-and-informatics/jaqpot-api-client-python" [tool.hatch.version] -path = "src/jaqpot_api_client/__init__.py" +path = "src/jaqpot_api_client/__about__.py" [tool.hatch.envs.types] extra-dependencies = [ @@ -46,7 +46,7 @@ source_pkgs = ["jaqpot_api_client", "tests"] branch = true parallel = true omit = [ - "src/jaqpot_api_client/__init__.py", + "src/jaqpot_api_client/__about__.py", ] [tool.coverage.paths] diff --git a/src/__init__.py b/src/__init__.py deleted file mode 100644 index 9be0efa..0000000 --- a/src/__init__.py +++ /dev/null @@ -1 +0,0 @@ -__version__ = "{{VERSION_PLACEHOLDER}}" diff --git a/src/jaqpot_api_client/__about__.py b/src/jaqpot_api_client/__about__.py index 1b40969..683f482 100644 --- a/src/jaqpot_api_client/__about__.py +++ b/src/jaqpot_api_client/__about__.py @@ -1,4 +1,4 @@ # SPDX-FileCopyrightText: 2024-present Alex Arvanitidis # # SPDX-License-Identifier: MIT -__version__ = "0.0.1" +__version__ = "{{VERSION_PLACEHOLDER}}"