You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2016/12/08 18:14:36 UTC

incubator-trafficcontrol git commit: remove build number from tarball name

Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/1.8.x 256cab6ea -> 7d8a88d05


remove build number from tarball name

(cherry picked from commit 91c3dbca4e1aafabbe2980d47ce8f5e18d76d102)


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/7d8a88d0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/7d8a88d0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/7d8a88d0

Branch: refs/heads/1.8.x
Commit: 7d8a88d0512ffe0354c2bc079ddbf2e7b67b6c3e
Parents: 256cab6
Author: Dan Kirkwood <da...@gmail.com>
Authored: Thu Dec 8 10:38:00 2016 -0700
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Thu Dec 8 18:13:32 2016 +0000

----------------------------------------------------------------------
 build/functions.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/7d8a88d0/build/functions.sh
----------------------------------------------------------------------
diff --git a/build/functions.sh b/build/functions.sh
index 0991fac..9175906 100755
--- a/build/functions.sh
+++ b/build/functions.sh
@@ -161,12 +161,11 @@ function createTarball() {
 	local projDir=$(cd "$1"; pwd)
 	local projName=incubator-trafficcontrol
 	local version=$(getVersion "$TC_DIR")
-	local buildNum=$(getBuildNumber)
-	local tarball="dist/$projName-$version.$buildNum.tar.gz"
+	local tarball="dist/$projName-$version.tar.gz"
 
 	# Create a BULDNUMBER file and add to tarball
 	local bndir=$(mktemp -d)
-        echo "$buildNum" >"$bndir/BUILD_NUMBER"
+        getBuildNumber >"$bndir/BUILD_NUMBER"
 
         # create the tarball only from files in repo and BUILD_NUMBER
         tar -czf "$tarball" -C "$bndir" BUILD_NUMBER -C "$projDir" --exclude-vcs --transform "s@^@$projName/@" $(git ls-files)