From 7c26507089d3271e8a596d8dbb88774b133149e1 Mon Sep 17 00:00:00 2001 From: "C. Titus Brown" Date: Mon, 23 Sep 2024 13:44:38 -0700 Subject: [PATCH 1/2] add 'environment' and 'permissions' to release CI --- .github/workflows/CI.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 4f1a35f..65d5993 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -157,6 +157,11 @@ jobs: runs-on: ubuntu-latest if: "startsWith(github.ref, 'refs/tags/v')" needs: [linux, musllinux, windows, macos, sdist] + # Specifying a GitHub environment is optional, but strongly encouraged + environment: release + permissions: + # IMPORTANT: this permission is mandatory for trusted publishing + id-token: write steps: - uses: actions/download-artifact@v4 - name: Publish to PyPI From 7da5a35a2406298566a65ededd16bbb1fa5c6afd Mon Sep 17 00:00:00 2001 From: "C. Titus Brown" Date: Mon, 23 Sep 2024 13:45:21 -0700 Subject: [PATCH 2/2] upd to rc3 --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7849813..f0c2907 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -746,7 +746,7 @@ dependencies = [ [[package]] name = "oxli" -version = "0.3.0-rc2" +version = "0.3.0-rc3" dependencies = [ "anyhow", "env_logger", diff --git a/Cargo.toml b/Cargo.toml index 7f7ec22..f34008e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxli" -version = "0.3.0-rc2" +version = "0.3.0-rc3" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html