Ensure external test repo hashes track origin/master

This commit is contained in:
Jon Siwek 2018-08-22 12:05:19 -05:00
parent 12955d8676
commit 66871ba948
3 changed files with 7 additions and 3 deletions

View file

@ -8,12 +8,12 @@ function new_version_hook
version=$1
if [ -d testing/external/bro-testing ]; then
( cd testing/external/bro-testing && git rev-parse HEAD ) > testing/external/commit-hash.bro-testing
( cd testing/external/bro-testing && git fetch origin && git rev-parse origin/master ) > testing/external/commit-hash.bro-testing
git add testing/external/commit-hash.bro-testing
fi
if [ -d testing/external/bro-testing-private ]; then
( cd testing/external/bro-testing-private && git rev-parse HEAD ) > testing/external/commit-hash.bro-testing-private
( cd testing/external/bro-testing-private && git fetch origin && git rev-parse origin/master ) > testing/external/commit-hash.bro-testing-private
git add testing/external/commit-hash.bro-testing-private
fi
}

View file

@ -1,4 +1,8 @@
2.5-894 | 2018-08-22 12:05:19 -0500
* Ensure external test repo hashes track origin/master (Jon Siwek, Corelight)
2.5-892 | 2018-08-22 11:49:12 -0500
* Fix "unused CMake variable" configuration warnings (Jon Siwek, Corelight)

View file

@ -1 +1 @@
2.5-892
2.5-894