Repository: incubator-trafficcontrol Updated Branches: refs/heads/master 3f1c85e9a -> 02e399f34
tar ball dir name is "trafficcontrol-incubating-<version>" Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/32e33d66 Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/32e33d66 Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/32e33d66 Branch: refs/heads/master Commit: 32e33d66d0d77e5dbe2b955d4d08bbcdc70b20b8 Parents: 1a932fb Author: Dan Kirkwood <dang...@gmail.com> Authored: Mon Jan 9 09:02:30 2017 -0700 Committer: Dave Neuman <neu...@apache.org> Committed: Mon Jan 9 12:31:58 2017 -0700 ---------------------------------------------------------------------- build/functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/32e33d66/build/functions.sh ---------------------------------------------------------------------- diff --git a/build/functions.sh b/build/functions.sh index fa8c153..8cbdbd5 100755 --- a/build/functions.sh +++ b/build/functions.sh @@ -159,7 +159,7 @@ function buildRpm () { # --------------------------------------- function createTarball() { local projDir=$(cd "$1"; pwd) - local projName=incubating-trafficcontrol + local projName=trafficcontrol-incubating local version=$(getVersion "$TC_DIR") local tarball="dist/$projName-$version.tar.gz" @@ -168,7 +168,7 @@ function createTarball() { 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) + tar -czf "$tarball" -C "$bndir" BUILD_NUMBER -C "$projDir" --exclude-vcs --transform "s@^@$projName-$version/@" $(git ls-files) rm -r "$bndir" echo "$tarball" }