[Asterisk-code-review] Fix use of --local in git config (repotools[master])

George Joseph asteriskteam at digium.com
Wed Sep 6 13:40:42 CDT 2017


George Joseph has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.asterisk.org:29418/repotools refs/changes/41/6441/1

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: newchange
Gerrit-Change-Id: I0e33002b548834e5fc4c7626e896c784ed9b845f
Gerrit-Change-Number: 6441
Gerrit-PatchSet: 1
Gerrit-Owner: George Joseph <gjoseph at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20170906/79efab28/attachment.html>


More information about the asterisk-code-review mailing list