summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-10-10 18:30:33 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-10-10 18:30:41 (GMT)
commit8d2f18af3268920412621e98e527830faa763448 (patch)
treee3d479368237a84fcec3e5be2d99cf8af39928b8
parentafdb354ac77818604dfed8ef416031a12ab49a48 (diff)
parent1529f4a9308a1c808b5ac48083ca0c365c589021 (diff)
downloadCMake-8d2f18af3268920412621e98e527830faa763448.zip
CMake-8d2f18af3268920412621e98e527830faa763448.tar.gz
CMake-8d2f18af3268920412621e98e527830faa763448.tar.bz2
Merge topic 'rel-push'
1529f4a930 Utilities/Release: Teach "push" script to create destination subdirectory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3902
-rwxr-xr-xUtilities/Release/push.bash3
1 files changed, 3 insertions, 0 deletions
diff --git a/Utilities/Release/push.bash b/Utilities/Release/push.bash
index 1c8efe9..a1c6651 100755
--- a/Utilities/Release/push.bash
+++ b/Utilities/Release/push.bash
@@ -50,6 +50,9 @@ if test -z "$dir"; then
dir="v${version}"
fi
readonly dir
+if ! test -d "${dest}/${dir}"; then
+ mkdir "${dest}/${dir}"
+fi
for f in cmake-${version}*; do
if ! test -f "${f}"; then