diff options
author | Thomas Duval <thomas.duval@orange.com> | 2017-11-09 16:30:49 +0100 |
---|---|---|
committer | Thomas Duval <thomas.duval@orange.com> | 2017-11-09 16:30:49 +0100 |
commit | dd005a0d6fe904db53b7d22149117810fbfa705a (patch) | |
tree | c4416a583c3042454f8c21eefd9ca2f470874537 /moonv4 | |
parent | 2400dc978822b66e3bad999e6dc6375c3b3308a0 (diff) |
Update build script to get the version written in __init__.py
Change-Id: Ic7cb523a2898c364a2ba052a984bb13202bb9324
Diffstat (limited to 'moonv4')
-rw-r--r-- | moonv4/moon_db/build.sh | 2 | ||||
-rw-r--r-- | moonv4/moon_utilities/build.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/moonv4/moon_db/build.sh b/moonv4/moon_db/build.sh index 26efbe86..f109e9b8 100644 --- a/moonv4/moon_db/build.sh +++ b/moonv4/moon_db/build.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERSION=moon_db-1.1.0 +VERSION=moon_db-$(grep __version__ moon_db/__init__.py | cut -d "\"" -f 2) python3 setup.py sdist bdist_wheel diff --git a/moonv4/moon_utilities/build.sh b/moonv4/moon_utilities/build.sh index 3068b651..4a86e5af 100644 --- a/moonv4/moon_utilities/build.sh +++ b/moonv4/moon_utilities/build.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERSION=moon_utilities-1.4.0 +VERSION=moon_utilities-$(grep __version__ moon_utilities/__init__.py | cut -d "\"" -f 2) python3 setup.py sdist bdist_wheel |