[asterisk-commits] Fix use of --local in git config (repotools[master])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Sep 6 13:40:57 CDT 2017


George Joseph has submitted this change and it was merged. ( https://gerrit.asterisk.org/6441 )

Change subject: Fix use of --local in git config
......................................................................

Fix use of --local in git config

Change-Id: I0e33002b548834e5fc4c7626e896c784ed9b845f
---
M build_tools/make_version
1 file changed, 3 insertions(+), 2 deletions(-)

Approvals:
  George Joseph: Looks good to me, approved; Approved for Submit



diff --git a/build_tools/make_version b/build_tools/make_version
index e0427bf..c754b5c 100755
--- a/build_tools/make_version
+++ b/build_tools/make_version
@@ -27,8 +27,9 @@
     git update-index --refresh >/dev/null 2>&1 || :
 
     MODIFIED=""
-    ${GIT} config --local --replace-all versionsort.prereleaseSuffix -rc
-    
+    ${GIT} config --replace-all versionsort.prereleaseSuffix -rc
+    ${GIT} config --replace-all versionsort.prereleaseSuffix -beta
+
     VERSION=`${GIT} describe --dirty 2> /dev/null`
     if [ $? -eq 0 ]; then
         if [ "${VERSION:(-6)}" = "-dirty" ]; then

-- 
To view, visit https://gerrit.asterisk.org/6441
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: repotools
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I0e33002b548834e5fc4c7626e896c784ed9b845f
Gerrit-Change-Number: 6441
Gerrit-PatchSet: 1
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-commits/attachments/20170906/0b3a7705/attachment.html>


More information about the asterisk-commits mailing list