This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, master has been updated
       via  8d2f18af3268920412621e98e527830faa763448 (commit)
       via  1529f4a9308a1c808b5ac48083ca0c365c589021 (commit)
      from  afdb354ac77818604dfed8ef416031a12ab49a48 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8d2f18af3268920412621e98e527830faa763448
commit 8d2f18af3268920412621e98e527830faa763448
Merge: afdb354a 1529f4a
Author:     Brad King <brad.k...@kitware.com>
AuthorDate: Thu Oct 10 18:30:33 2019 +0000
Commit:     Kitware Robot <kwro...@kitware.com>
CommitDate: Thu Oct 10 14:30:41 2019 -0400

    Merge topic 'rel-push'
    
    1529f4a930 Utilities/Release: Teach "push" script to create destination 
subdirectory
    
    Acked-by: Kitware Robot <kwro...@kitware.com>
    Merge-request: !3902


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1529f4a9308a1c808b5ac48083ca0c365c589021
commit 1529f4a9308a1c808b5ac48083ca0c365c589021
Author:     Brad King <brad.k...@kitware.com>
AuthorDate: Thu Oct 10 14:24:32 2019 -0400
Commit:     Brad King <brad.k...@kitware.com>
CommitDate: Thu Oct 10 14:24:32 2019 -0400

    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.

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

-----------------------------------------------------------------------

Summary of changes:
 Utilities/Release/push.bash | 3 +++
 1 file changed, 3 insertions(+)


hooks/post-receive
-- 
CMake
_______________________________________________
Cmake-commits mailing list
Cmake-commits@cmake.org
https://cmake.org/mailman/listinfo/cmake-commits

Reply via email to