[CALCITE-2550] Update release script to build tarballs with filenames in
form apache-calcite-avatica-go-x.x.x-src.tar.gz
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 @@
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 @@
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
diff --git a/site/develop/avatica-go.md b/site/develop/avatica-go.md
index 330477b..81bd539 100644
--- a/site/develop/avatica-go.md
+++ b/site/develop/avatica-go.md
@@ -88,13 +88,13 @@
release is a release candidate. `src` must also be added to the filename.
For example, if we are uploading the `apache-calcite-avatica-go-3.0.0-rc1` folder, the files must be named
-`apache-calcite-acatica-go-src-3.0.0.tar.gz`. Note the inclusion of `src` in the filename.
+`apache-calcite-acatica-go-3.0.0.-srctar.gz`. Note the inclusion of `src` in the filename.
-The tar.gz must be named `apache-calcite-avatica-go-src-$version.tar.gz`.
+The tar.gz must be named `apache-calcite-avatica-go-$version-src.tar.gz`.
-There must be a GPG signature for the tar.gz named: `apache-calcite-avatica-go-src-$version.tar.gz.asc`
+There must be a GPG signature for the tar.gz named: `apache-calcite-avatica-go-$version-src.tar.gz.asc`
-There must be a SHA256 hash for the tar.gz named: `apache-calcite-avatica-go-src-$version.tar.gz.sha256`
+There must be a SHA256 hash for the tar.gz named: `apache-calcite-avatica-go-$version-src.tar.gz.sha256`
## Uploading release artifacts to dev for voting
`svn` must be installed in order to upload release artifacts.