#!/usr/bin/env bash

set -e
set -x
shopt -s dotglob

readonly name="GoogleTest"
readonly ownership="GoogleTest Upstream <googletestframework@googlegroups.com>"
readonly subtree="Modules/ThirdParty/GoogleTest/src/itkgoogletest"
readonly repo="https://github.com/google/googletest.git"
readonly tag="release-1.10.0"
readonly shortlog=false
readonly paths="
CMakeLists.txt
googletest/CMakeLists.txt
googletest/cmake
googletest/src
googletest/include
"

extract_source () {
    git_archive
}

. "${BASH_SOURCE%/*}/../../../Utilities/Maintenance/update-third-party.bash"

#!/usr/bin/env bash

set -e
set -x
shopt -s dotglob

readonly name="GoogleTest"
readonly ownership="GoogleTest Upstream <googletestframework@googlegroups.com>"
readonly subtree="Modules/ThirdParty/GoogleTest/src/itkgoogletest"
readonly repo="https://github.com/google/googletest.git"
readonly tag="master"
readonly shortlog=false
readonly paths="
CMakeLists.txt
googletest/CMakeLists.txt
googletest/cmake
googletest/src
googletest/include
"

extract_source () {
    git_archive
}

. "${BASH_SOURCE%/*}/../../../Utilities/Maintenance/update-third-party.bash"

Update GTest branch name to `master` in order to "Live at Head"
ENH: Update GTest branch name to `master` in order to "Live at Head"

https://github.com/google/googletest#live-at-head

Policy change occurred in March:
https://github.com/google/googletest/commit/861d535e2595894c7a214f05c1578d964a617643
