aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/moon_utilities/build.sh
diff options
context:
space:
mode:
authorThomas Duval <thomas.duval@orange.com>2017-11-07 11:23:23 +0100
committerThomas Duval <thomas.duval@orange.com>2017-11-07 11:23:23 +0100
commit232d674bd645f961ff4f3e9765a806536cf3f3bf (patch)
treea8192ef940dd935784a7be50fe2d095d4ab4956c /moonv4/moon_utilities/build.sh
parentd11ee09f6fc511d6f7000fba35ad6aedfc65c92b (diff)
Connect the Moon subjects with the Keystone users.
Change-Id: I67a8956e86cda0853f352743ab0886169bdc2902
Diffstat (limited to 'moonv4/moon_utilities/build.sh')
-rw-r--r--moonv4/moon_utilities/build.sh12
1 files changed, 11 insertions, 1 deletions
diff --git a/moonv4/moon_utilities/build.sh b/moonv4/moon_utilities/build.sh
index b327e49d..3068b651 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.3.4
+VERSION=moon_utilities-1.4.0
python3 setup.py sdist bdist_wheel
@@ -12,17 +12,27 @@ gpg --detach-sign -u "A0A96E75" -a dist/${VERSION}.tar.gz
if [ "$1" = "upload" ]; then
twine upload dist/${VERSION}-py3-none-any.whl dist/${VERSION}-py3-none-any.whl.asc
twine upload dist/${VERSION}.tar.gz dist/${VERSION}.tar.gz.asc
+ rm -f ../moon_orchestrator/dist/moon_utilities*
+ rm -f ../moon_interface/dist/moon_utilities*
+ rm -f ../moon_manager/dist/moon_utilities*
+ rm -f ../moon_authz/dist/moon_utilities*
+ rm -f ../moon_wrapper/dist/moon_utilities*
fi
if [ "$1" = "copy" ]; then
mkdir -p ../moon_orchestrator/dist/ 2>/dev/null
+ rm -f ../moon_orchestrator/dist/moon_utilities*
cp -v dist/${VERSION}-py3-none-any.whl ../moon_orchestrator/dist/
mkdir -p ../moon_interface/dist/ 2>/dev/null
+ rm -f ../moon_interface/dist/moon_utilities*
cp -v dist/${VERSION}-py3-none-any.whl ../moon_interface/dist/
mkdir -p ../moon_manager/dist/ 2>/dev/null
+ rm -f ../moon_manager/dist/moon_utilities*
cp -v dist/${VERSION}-py3-none-any.whl ../moon_manager/dist/
mkdir -p ../moon_authz/dist/ 2>/dev/null
+ rm -f ../moon_authz/dist/moon_utilities*
cp -v dist/${VERSION}-py3-none-any.whl ../moon_authz/dist/
mkdir -p ../moon_wrapper/dist/ 2>/dev/null
+ rm -f ../moon_wrapper/dist/moon_utilities*
cp -v dist/${VERSION}-py3-none-any.whl ../moon_wrapper/dist/
fi