Skip to content

Commit 759fe03

Browse files
committed
auto setting version on release
1 parent 0b90da8 commit 759fe03

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,14 @@ jobs:
103103
make install
104104
pip install -U wheel twine
105105
106+
- name: set version
107+
run: VERSION_PATH='arq/version.py' python <(curl -Ls https://git.io/JT3rm)
108+
106109
- name: build
107110
run: python setup.py sdist bdist_wheel
108111

109112
- run: twine check dist/*
110113

111-
- name: check tag
112-
run: PACKAGE=arq python <(curl -Ls https://git.io/JvQsH)
113-
114114
- name: upload to pypi
115115
run: twine upload dist/*
116116
env:

arq/version.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
__all__ = ('VERSION',)
1+
__all__ = ['VERSION']
22

3-
VERSION = '0.21'
3+
VERSION = 'dev'

0 commit comments

Comments
 (0)