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

[1/2] incubator-trafficcontrol git commit: remove build number from tarball name

Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/master dafc22afd -> f25489da5


remove build number from tarball name


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

Branch: refs/heads/master
Commit: 91c3dbca4e1aafabbe2980d47ce8f5e18d76d102
Parents: dafc22a
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 10:38:00 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/91c3dbca/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)


[2/2] incubator-trafficcontrol git commit: This closes #130

Posted by mi...@apache.org.
This closes #130


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

Branch: refs/heads/master
Commit: f25489da58aec9c97a0a35e652d76026f6cd32dd
Parents: 91c3dbc
Author: Jeremy Mitchell <mi...@gmail.com>
Authored: Thu Dec 8 11:09:26 2016 -0700
Committer: Jeremy Mitchell <mi...@gmail.com>
Committed: Thu Dec 8 11:09:26 2016 -0700

----------------------------------------------------------------------

----------------------------------------------------------------------