diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 35f7069..c6c872d 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -154,7 +154,8 @@ jobs: path: dist release: - name: release + name: Release + environment: release runs-on: ubuntu-latest if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }} needs: [linux, musllinux, windows, macos, sdist] @@ -174,8 +175,6 @@ jobs: - name: Publish to PyPI if: ${{ startsWith(github.ref, 'refs/tags/') }} uses: PyO3/maturin-action@v1 - env: - MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }} with: command: upload args: --non-interactive --skip-existing wheels-*/* diff --git a/Cargo.lock b/Cargo.lock index 5e8325e..6559526 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -410,7 +410,7 @@ dependencies = [ [[package]] name = "loro" -version = "1.2.5-alpha.0" +version = "1.2.5-alpha" dependencies = [ "fxhash", "loro 1.1.0", diff --git a/Cargo.toml b/Cargo.toml index 331dde2..2db33b1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "loro" -version = "1.2.5-alpha.0" +version = "1.2.5-alpha" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html