From 2ddf4f7f612f0c41ea3bf7fa6033e22aeb2efd0a Mon Sep 17 00:00:00 2001 From: Ryan Ashcraft Date: Tue, 21 Jan 2025 15:22:10 -0500 Subject: [PATCH] #11 :green_heart: fix overzealous step skipping optimization --- .bumpversion.toml | 2 +- .github/workflows/build.yaml | 6 +++--- pyproject.toml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.bumpversion.toml b/.bumpversion.toml index 58949c8..43da30b 100644 --- a/.bumpversion.toml +++ b/.bumpversion.toml @@ -1,5 +1,5 @@ [tool.bumpversion] -current_version = "0.1.7-dev5" +current_version = "0.1.7-dev6" parse = """(?x) (?P0|[1-9]\\d*)\\. (?P0|[1-9]\\d*)\\. diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 017f08f..f235a75 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -56,11 +56,11 @@ jobs: run: | uv build - name: Publish - if: github.event.inputs.buildBranch == 'dev' + if: github.ref == 'refs/heads/dev' run: | uv publish --publish-url https://test.pypi.org/legacy/ --token ${{ secrets.TEST_PYPI_TOKEN }} - name: Bump version - if: github.event.inputs.buildBranch == 'dev' + if: github.ref == 'refs/heads/dev' id: bump uses: callowayproject/bump-my-version@master env: @@ -69,7 +69,7 @@ jobs: args: "pre_n" github-token: ${{ secrets.GITHUB_TOKEN }} - name: Check - if: steps.bump.outputs.bumped == 'true' && github.event.inputs.buildBranch == 'dev' + if: steps.bump.outputs.bumped == 'true' && github.ref == 'refs/heads/dev' run: | echo "Version was bumped from ${{ steps.bump.outputs.previous-version }} to ${{ steps.bump.outputs.current-version }}!" - name: Upload pants log diff --git a/pyproject.toml b/pyproject.toml index b0fa649..03723ca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "pants-uv-lifecycle-plugin" -version = "0.1.7-dev5" +version = "0.1.7-dev6" description = "The repository contains the Pantsbuild `uv` plugins." readme = "README.md" authors = [