Commit d8e7f70d authored by Antoine Regimbeau's avatar Antoine Regimbeau

Handle .zip windows extension

parent 1b5fedba
Pipeline #1896 canceled with stages
in 1 minute and 4 seconds
......@@ -238,6 +238,8 @@ deploy:
script:
- ./CI/deploy.sh $CI_COMMIT_REF_NAME $RC_NUMBER
dependencies:
- ubuntu-superbuild-build
- centos-superbuild-build
- macos-superbuild-build
\ No newline at end of file
- ubuntu-xdk-build
- centos-xdk-build
- macos-xdk-build
- windows-8-build
- windows-10-build
\ No newline at end of file
......@@ -37,12 +37,15 @@ else # On release
fi
# Push package
ls -all build_packages/
echo "Renaming binary packages"
# find build_packages/. -name "*.run" \
# -exec sh -c 'mv "$1" "${1%.run}${pack_suffix}.run"' _ {} \;
for name in $(find build_packages/. -name "*.run")
for name in $(find build_packages/. -name "OTB-*.*")
do
mv "$name" "${name%.run}${pack_suffix}.run"
len=(${#name})
echo $len
mv "$name" "${name:0:$len-4}${pack_suffix}${name:$len-4}"
done
# TO REMOVE
###########
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment