Repository: calcite-avatica-go Updated Branches: refs/heads/master ac8581f94 -> 379799133
[CALCITE-2550] Update release script to build tarballs with filenames in form apache-calcite-avatica-go-x.x.x-src.tar.gz Project: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/commit/37979913 Tree: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/tree/37979913 Diff: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/diff/37979913 Branch: refs/heads/master Commit: 3797991336ad80a7d6c379c59a7cd5a4c657e9ec Parents: ac8581f Author: Francis Chuang <[email protected]> Authored: Tue Sep 11 18:41:31 2018 +1000 Committer: Francis Chuang <[email protected]> Committed: Tue Sep 11 18:41:31 2018 +1000 ---------------------------------------------------------------------- make-release-artifacts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/37979913/make-release-artifacts.sh ---------------------------------------------------------------------- diff --git a/make-release-artifacts.sh b/make-release-artifacts.sh index 9e114cd..68465d5 100755 --- a/make-release-artifacts.sh +++ b/make-release-artifacts.sh @@ -99,7 +99,7 @@ fi tagWithoutV=$(echo $tag | sed -e 's/v//') tagWithoutRC=$(echo $tagWithoutV | sed -e 's/-rc[0-9][0-9]*//') product=apache-calcite-avatica-go -tarFile=$product-src-$tagWithoutRC.tar.gz +tarFile=$product-$tagWithoutRC-src.tar.gz releaseDir=dist/$product-$tagWithoutV #Make release dir @@ -112,7 +112,7 @@ if ! git checkout $tag; then fi # Make tar -tar -zcf $releaseDir/$tarFile --transform "s/^/$product-src-$tagWithoutRC\//g" $(git ls-files) +tar -zcf $releaseDir/$tarFile --transform "s/^/$product-$tagWithoutRC-src\//g" $(git ls-files) cd $releaseDir
