Skip to content

Commit

Permalink
Version 1.2.1
Browse files Browse the repository at this point in the history
Add a CI step to upload wheels to Github Releases.
  • Loading branch information
gukoff committed Dec 3, 2020
1 parent 0b9452b commit d05376c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
authors = ["Konstantin Gukov <gukkos@gmail.com>"]
name = "python-dtparse"
version = "1.2.0"
version = "1.2.1"

[dependencies]
pyo3 = "0.12.4"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit d05376c

Please sign in to comment.