You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by fr...@apache.org on 2018/08/29 23:04:40 UTC

calcite-avatica-go git commit: Remove v from tag when building releases using release script

Repository: calcite-avatica-go
Updated Branches:
  refs/heads/master a0f3f2b6f -> ee53d9fca


Remove v from tag when building releases using release script


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/ee53d9fc
Tree: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/tree/ee53d9fc
Diff: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/diff/ee53d9fc

Branch: refs/heads/master
Commit: ee53d9fca357aa54a3c84c56b07333bf2fdd1597
Parents: a0f3f2b
Author: Francis Chuang <fr...@apache.org>
Authored: Thu Aug 30 09:04:32 2018 +1000
Committer: Francis Chuang <fr...@apache.org>
Committed: Thu Aug 30 09:04:32 2018 +1000

----------------------------------------------------------------------
 make-release-artifacts.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/ee53d9fc/make-release-artifacts.sh
----------------------------------------------------------------------
diff --git a/make-release-artifacts.sh b/make-release-artifacts.sh
index c8ecccb..95cf432 100755
--- a/make-release-artifacts.sh
+++ b/make-release-artifacts.sh
@@ -49,7 +49,7 @@ for i in $(git ls-files); do
    esac
 done
 
-tagWithoutRC=$(echo $tag | sed -e 's/-rc[0-9][0-9]*//')
+tagWithoutRC=$(echo $tag | sed -e 's/-rc[0-9][0-9]*//' | sed -e 's/v//')
 product=apache-calcite-avatica-go
 tarFile=$product-src-$tagWithoutRC.tar.gz
 releaseDir=dist/$product-$tag