diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fefedaf..99afcb0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -133,19 +133,19 @@ jobs: name: dist path: dist/ - # publish-release: - # needs: build-release - # runs-on: ubuntu-latest - # permissions: - # id-token: write # Required for trusted publishing - # steps: - # - name: Download artifacts - # uses: actions/download-artifact@v4 - # with: - # name: dist - # path: dist/ - # - # - name: Publish to PyPI - # uses: pypa/gh-action-pypi-publish@release/v1 - # # Uses trusted publishing - configure at https://pypi.org/manage/account/publishing/ - # # No API token needed when using trusted publishing + publish-release: + needs: build-release + runs-on: ubuntu-latest + permissions: + id-token: write # Required for trusted publishing + steps: + - name: Download artifacts + uses: actions/download-artifact@v4 + with: + name: dist + path: dist/ + + - name: Publish to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + # Uses trusted publishing - configure at https://pypi.org/manage/account/publishing/ + # No API token needed when using trusted publishing diff --git a/pyproject.toml b/pyproject.toml index 3e4912e..e352ac7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "snaplint" -version = "0.4.2" +version = "0.5.0" description = "Snapshot linter errors and track only new issues — perfect for incremental linter adoption on large codebases" readme = "README.md" requires-python = ">=3.10" diff --git a/uv.lock b/uv.lock index 2418d10..ac0cc56 100644 --- a/uv.lock +++ b/uv.lock @@ -534,7 +534,7 @@ wheels = [ [[package]] name = "snaplint" -version = "0.4.2" +version = "0.5.0" source = { editable = "." } dependencies = [ { name = "pydantic" },