From e0a58d7ce554fb7b4bc0ff248fb1a0b1d20cde7e Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 27 Jul 2024 02:54:05 +0300 Subject: [PATCH] Up version, remove up version cmd from publish workflow --- .github/workflows/publish.yml | 3 ++- Makefile | 2 +- src/injection/__version__.py | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index dd735aa..f9de71c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -43,7 +43,8 @@ jobs: ./pdm.lock - name: Build package - run: pdm run hatch version "${{ github.ref_name }}" && make build +# run: pdm run hatch version "${{ github.ref_name }}" && make build + run: make build - name: Store the distribution packages uses: actions/upload-artifact@v4 diff --git a/Makefile b/Makefile index 00bf617..f634fa1 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ lint-ci: pre-commit install && pre-commit run --color=always --all-files deps: - pdm run pytest pre-commit hatch==1.12.0 + pdm install build: rm -r -f dist && pdm run hatch build diff --git a/src/injection/__version__.py b/src/injection/__version__.py index 5becc17..5c4105c 100644 --- a/src/injection/__version__.py +++ b/src/injection/__version__.py @@ -1 +1 @@ -__version__ = "1.0.0" +__version__ = "1.0.1"