diff options
author | Ruan HE <ruan.he@orange.com> | 2017-11-10 09:47:10 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-11-10 09:47:11 +0000 |
commit | bb035fab15fdf97ce8ddb619912c0df0f8c74131 (patch) | |
tree | f9997fc86b71d67c7b6218c3b04a9b8d493f3190 | |
parent | 00eb18e358640691a3023de569aedea5865484ea (diff) | |
parent | dd005a0d6fe904db53b7d22149117810fbfa705a (diff) |
Merge "Update build script to get the version written in __init__.py"
-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 |