mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-01-26 11:04:33 +00:00
Utilities/Release: Teach "push" script to create destination subdirectory
Extend the script added by commit 9bf97363b0 (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.
This commit is contained in:
parent
afdb354ac7
commit
1529f4a930
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user