Commit 1529f4a9 authored by Brad King's avatar Brad King

Utilities/Release: Teach "push" script to create destination subdirectory

Extend the script added by commit 9bf97363 (Utilities/Release: Replace
upload step with a "push" script, 2019-05-24, v3.15.0-rc1~56^2) to
create the destination subdirectory for the CMake version being pushed.
parent afdb354a
......@@ -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
......
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