From d05376caa9317ba0393f0bb88293356b340c0139 Mon Sep 17 00:00:00 2001 From: Konstantin Gukov Date: Thu, 3 Dec 2020 23:57:21 +0100 Subject: [PATCH] Version 1.2.1 Add a CI step to upload wheels to Github Releases. --- .github/workflows/ci.yml | 11 ++++++++++- Cargo.toml | 2 +- setup.py | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1266aaa..b38f552 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -101,7 +101,16 @@ jobs: pip install -U twine twine check ${{ matrix.wheels-dir }}/* - - name: upload to test pypi + - name: Upload to github releases + if: startsWith(github.ref, 'refs/tags/') + uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: ${{ matrix.wheels-dir }}/* + file_glob: true + tag: ${{ github.ref }} + + - name: upload to pypi if: startsWith(github.ref, 'refs/tags/') run: twine upload ${{ matrix.wheels-dir }}/* env: diff --git a/Cargo.toml b/Cargo.toml index 22f0428..cfe533d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] authors = ["Konstantin Gukov "] name = "python-dtparse" -version = "1.2.0" +version = "1.2.1" [dependencies] pyo3 = "0.12.4" diff --git a/setup.py b/setup.py index 275be6b..6532b5a 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ def run(self): setup( name='dtparse', - version='1.2.0', + version='1.2.1', classifiers=[ 'License :: OSI Approved :: MIT License', 'Development Status :: 3 - Alpha',