We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ae3e1f commit 7b7498bCopy full SHA for 7b7498b
.travis/after_success.sh
@@ -7,6 +7,7 @@ set -e # exit on errors
7
if [ "${TRAVIS_TAG}" != "" ] && [ "${TRAVIS_REPO_SLUG}" == "hasadna/knesset-data-python" ] && [ "${TRAVIS_PYPI_USER}" != "" ] && [ "${TRAVIS_PYPI_PASS}" != "" ]; then
8
echo "publishing tagged release to pypi"
9
echo "${TRAVIS_TAG}" > VERSION.txt
10
+ echo "__version__ = '${TRAVIS_TAG}'" >> knesset_data/__init__.py
11
rm -rf dist build
12
pip install twine
13
./setup.py bdist_wheel
knesset_data/__init__.py
@@ -1,4 +1,6 @@
1
"""Knesset Data API
2
3
Provides classes that allow fetching data about the Knesset.
4
-"""
+"""
5
+
6
0 commit comments