You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2017/05/30 17:37:04 UTC

[trafficserver] branch master updated: This should allow for per-version binaries

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/master by this push:
       new  0ceaeaf   This should allow for per-version binaries
0ceaeaf is described below

commit 0ceaeaf0a46cb188fab7801b721f3efb597e46a5
Author: Leif Hedstrom <zw...@apache.org>
AuthorDate: Tue May 30 10:21:06 2017 -0600

    This should allow for per-version binaries
---
 tools/clang-format.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tools/clang-format.sh b/tools/clang-format.sh
index 6b75165..2d2390b 100755
--- a/tools/clang-format.sh
+++ b/tools/clang-format.sh
@@ -20,9 +20,11 @@
 
 set -e # exit on error
 
+# Update the PKGDATE with the new version date when making a new clang-format binary package.
+PKGDATE="20170404"
 DIR=${1:-.}
-ROOT=${ROOT:-$(cd $(dirname $0) && git rev-parse --show-toplevel)/.git/fmt}
-PACKAGE="clang-format-20170404.tar.bz2"
+ROOT=${ROOT:-$(cd $(dirname $0) && git rev-parse --show-toplevel)/.git/fmt/${PKGDATE}}
+PACKAGE="clang-format-${PKGDATE}.tar.bz2"
 VERSION="clang-format version 4.0.1 (http://llvm.org/git/clang.git 559aa046fe3260d8640791f2249d7b0d458b5700) (http://llvm.org/git/llvm.git 08142cb734b8d2cefec8b1629f6bb170b3f94610)"
 
 URL=${URL:-https://bintray.com/artifact/download/apache/trafficserver/${PACKAGE}}

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].