Skip to content

Commit

Permalink
auto setting version on release
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Sep 2, 2021
1 parent 0b90da8 commit 759fe03
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,14 @@ jobs:
make install
pip install -U wheel twine
- name: set version
run: VERSION_PATH='arq/version.py' python <(curl -Ls https://git.io/JT3rm)

- name: build
run: python setup.py sdist bdist_wheel

- run: twine check dist/*

- name: check tag
run: PACKAGE=arq python <(curl -Ls https://git.io/JvQsH)

- name: upload to pypi
run: twine upload dist/*
env:
Expand Down
4 changes: 2 additions & 2 deletions arq/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__all__ = ('VERSION',)
__all__ = ['VERSION']

VERSION = '0.21'
VERSION = 'dev'

0 comments on commit 759fe03

Please sign in to comment.