summaryrefslogtreecommitdiffstats
path: root/Utilities/Scripts
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-01-30 21:31:33 (GMT)
committerBrad King <brad.king@kitware.com>2017-01-30 21:40:21 (GMT)
commita2d393d648d0f64010a4b34b84ab7985a284e294 (patch)
treea1478673e87540c0f4b97119273cfbb41b95229a /Utilities/Scripts
parent8df12fc9d4b52cdd18d4fa9408325be7d0c28ed2 (diff)
downloadCMake-a2d393d648d0f64010a4b34b84ab7985a284e294.zip
CMake-a2d393d648d0f64010a4b34b84ab7985a284e294.tar.gz
CMake-a2d393d648d0f64010a4b34b84ab7985a284e294.tar.bz2
Add script to update GitSetup from upstream
Diffstat (limited to 'Utilities/Scripts')
-rwxr-xr-xUtilities/Scripts/update-gitsetup.bash20
1 files changed, 20 insertions, 0 deletions
diff --git a/Utilities/Scripts/update-gitsetup.bash b/Utilities/Scripts/update-gitsetup.bash
new file mode 100755
index 0000000..8f0da76
--- /dev/null
+++ b/Utilities/Scripts/update-gitsetup.bash
@@ -0,0 +1,20 @@
+#!/usr/bin/env bash
+
+set -e
+set -x
+shopt -s dotglob
+
+readonly name="GitSetup"
+readonly ownership="GitSetup Upstream <kwrobot@kitware.com>"
+readonly subtree="Utilities/GitSetup"
+readonly repo="https://gitlab.kitware.com/utils/gitsetup.git"
+readonly tag="setup"
+readonly shortlog=false
+readonly paths="
+"
+
+extract_source () {
+ git_archive
+}
+
+. "${BASH_SOURCE%/*}/update-third-party.bash"