From 7db4b54e4088210b4c6228840d47a604d47639c0 Mon Sep 17 00:00:00 2001 From: "C. Titus Brown" Date: Mon, 23 Sep 2024 11:12:53 -0700 Subject: [PATCH 1/3] update publishing info --- .github/workflows/CI.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 0f3db95..f28a2be 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -107,14 +107,15 @@ jobs: if: "startsWith(github.ref, 'refs/tags/')" needs: [linux, windows, macos, sdist] + environment: release + permissions: + - id-token: write steps: - uses: actions/download-artifact@v4 with: name: wheels - name: Publish to PyPI uses: PyO3/maturin-action@v1 - env: - MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }} with: command: upload args: --non-interactive --skip-existing * From 398c9ad70d1458532d07c2e5950a953af94bb242 Mon Sep 17 00:00:00 2001 From: "C. Titus Brown" Date: Mon, 23 Sep 2024 11:14:09 -0700 Subject: [PATCH 2/3] make an rc instead --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 724a23e..6cc6c6a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -746,7 +746,7 @@ dependencies = [ [[package]] name = "oxli" -version = "0.2.3" +version = "0.3.0-rc1" dependencies = [ "anyhow", "env_logger", diff --git a/Cargo.toml b/Cargo.toml index 326db1a..47b3909 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxli" -version = "0.2.3" +version = "0.3.0-rc1" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html From 7919b3a803182f9f62da651e49911fa1b01c2f77 Mon Sep 17 00:00:00 2001 From: "C. Titus Brown" Date: Mon, 23 Sep 2024 11:25:08 -0700 Subject: [PATCH 3/3] fix syntax --- .github/workflows/CI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f28a2be..c2b9400 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -109,7 +109,7 @@ jobs: needs: [linux, windows, macos, sdist] environment: release permissions: - - id-token: write + id-token: write steps: - uses: actions/download-artifact@v4 with: