Skip to content

Commit e05801b

Browse files
Also replace version number within __init__.py
1 parent f55dd02 commit e05801b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/python-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,6 @@ jobs:
2727
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
2828
run: |
2929
sed -i "s|{{VERSION}}|${{ github.event.release.tag_name }}|g" ./setup.py
30+
sed -i "s|{{VERSION}}|${{ github.event.release.tag_name }}|g" ./extra_keras_datasets/__init__.py
3031
python setup.py sdist bdist_wheel
3132
twine upload dist/*

extra_keras_datasets/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import absolute_import
22

3-
__version__ = '0.1.5'
3+
__version__ = '{{VERSION}}'
44

55
from . import emnist
66
from . import kmnist

0 commit comments

Comments
 (0)