]> git.ipfire.org Git - thirdparty/asterisk.git/commit
build_tools/make_version: Get MAINLINE_BRANCH from .gitreview.
authorCorey Farrell <git@cfware.com>
Sat, 21 Jul 2018 15:48:29 +0000 (11:48 -0400)
committerCorey Farrell <git@cfware.com>
Sun, 22 Jul 2018 16:22:50 +0000 (12:22 -0400)
commit747b65f675a696a725f9cbb8dc5fa4e7a1c019ce
tree571789e009ef5910bee1fcc82226d61b4d38339a
parent5e9822fed7e1cd7565376a29142f72e729ce0d59
build_tools/make_version: Get MAINLINE_BRANCH from .gitreview.

Use .gitreview defaultbranch setting to determine the mainline branch.
This allows the script to be used against other directories which might
not be on the same defaultbranch.  This can be used by CI scripts to
report the testsuite version being used:
./build_tools/make_version ${TESTSUITE_DIR}

Change-Id: Ifdad4a9d8a26138c41bc6b630ecc3e34ea1c2758
build_tools/make_version