From 2b52a9be7b2f05c579152e32d2c9d865291bb7b6 Mon Sep 17 00:00:00 2001 From: Chih Cheng Liang Date: Sat, 19 Dec 2020 03:06:23 +0800 Subject: [PATCH 1/2] release 1.5.1 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 66b2533..50a1162 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "milagro-bls-binding" -version = "1.5.0" +version = "1.5.1" edition = "2018" authors = ["chihchengliang@gmail.com"] From 963f9941092e514a18b61a4ac8bf786bfc38f4af Mon Sep 17 00:00:00 2001 From: Chih Cheng Liang Date: Sat, 19 Dec 2020 03:15:34 +0800 Subject: [PATCH 2/2] "published" is the correct event --- .github/workflows/pythonpackage.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 6a481fa..8f06adc 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -2,7 +2,7 @@ name: Python package on: release: - types: [created] + types: [published] push: branches: [master] pull_request: @@ -137,7 +137,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: PyPi publish - if: github.event_name == 'release' && github.event.action == 'created' + if: github.event_name == 'release' && github.event.action == 'published' env: MATURIN_PASSWORD: ${{ secrets.PYPI }} run: maturin publish --no-sdist --username __token__ --interpreter python