From 6e60c2788f7cc594c4e0b29a260497b16d81bfde Mon Sep 17 00:00:00 2001 From: konstin Date: Tue, 30 Jul 2024 10:21:14 +0200 Subject: [PATCH] Permissions --- .github/workflows/release.yml | 7 ++++--- Cargo.lock | 2 +- Cargo.toml | 2 +- Changelog.md | 4 ++++ 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c28d7e9..d5a3170 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -148,12 +148,13 @@ jobs: runs-on: ubuntu-latest if: "startsWith(github.ref, 'refs/tags/')" needs: [linux, musllinux, windows, macos, sdist] + environment: release + permissions: + id-token: write steps: - uses: actions/download-artifact@v4 - name: Publish to PyPI - uses: PyO3/maturin-action@v1 - env: - MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }} + uses: PyO3/maturin-action@ with: command: upload args: --non-interactive --skip-existing wheels-*/* diff --git a/Cargo.lock b/Cargo.lock index cfc08fb..ddbf5c6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -126,7 +126,7 @@ checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] name = "pep440_rs" -version = "0.6.2" +version = "0.6.3" dependencies = [ "indoc", "once_cell", diff --git a/Cargo.toml b/Cargo.toml index bb2b105..1f037e6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pep440_rs" -version = "0.6.2" +version = "0.6.3" description = "A library for python version numbers and specifiers, implementing PEP 440" edition = "2021" include = ["/src", "Changelog.md", "License-Apache", "License-BSD", "Readme.md", "pyproject.toml"] diff --git a/Changelog.md b/Changelog.md index 7a0e5fd..bab4e6e 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,3 +1,7 @@ +## 0.6.3 + +* CI fixes + ## 0.6.2 * CI updates