diff --git a/.github/workflows/build_dist.yml b/.github/workflows/build_dist.yml index 33a0b80..c4faa9e 100644 --- a/.github/workflows/build_dist.yml +++ b/.github/workflows/build_dist.yml @@ -49,6 +49,7 @@ jobs: - name: Bump package version in pyproject.toml run: | uv version ${{steps.version.outputs.new_tag}} + uv lock - name: Build dist run: | @@ -60,6 +61,7 @@ jobs: git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git add pyproject.toml + git add uv.lock git diff-index --quiet HEAD || git commit -m "Updating version of pyproject.toml" - name: Push the new pyproject.toml @@ -84,13 +86,6 @@ jobs: tag_name: ${{ steps.tag.outputs.new_tag }} generate_release_notes: true - - name: Publish distribution to PyPI - if: false # TODO: remove this line to Publish distribution to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 - with: - skip_existing: true - verbose: true - - name: Merge 'main' branch -> 'dev' branch uses: devmasx/merge-branch@master with: @@ -100,3 +95,10 @@ jobs: message: "Automatic merge from 'main' into 'dev' [skip actions]" label_name: "gh-actions" github_token: ${{ secrets.GITHUB_TOKEN }} + + - name: Publish distribution to PyPI + if: false # TODO: remove this line to Publish distribution to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + skip_existing: true + verbose: true diff --git a/uv.lock b/uv.lock index 00a158e..50ff939 100644 --- a/uv.lock +++ b/uv.lock @@ -1341,7 +1341,7 @@ wheels = [ [[package]] name = "python-template" -version = "0.0.1" +version = "0.0.2" source = { editable = "." } dependencies = [ { name = "importlib-metadata" },