This is an automated email from the ASF dual-hosted git repository.

dlmarion pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-access.git


The following commit(s) were added to refs/heads/main by this push:
     new a8bc6a1  Changes to rc script because we don't build a tarball (#41)
a8bc6a1 is described below

commit a8bc6a12ee1bbb93bf927b722a5c5f270a6a5b1b
Author: Dave Marion <dlmar...@apache.org>
AuthorDate: Mon Feb 12 09:44:15 2024 -0500

    Changes to rc script because we don't build a tarball (#41)
---
 src/build/create-release-candidate.sh | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/build/create-release-candidate.sh 
b/src/build/create-release-candidate.sh
index d368630..a467e15 100755
--- a/src/build/create-release-candidate.sh
+++ b/src/build/create-release-candidate.sh
@@ -23,10 +23,10 @@ scriptname=$(basename "$0")
 projectroot="$(git rev-parse --show-toplevel)" || exit 1
 cd "$projectroot" || exit 1
 export tlpName=accumulo
-export projName="${tlpName}-access"
+export projName="${tlpName}-Access"
 export projNameLong="Apache ${projName^}"
 export 
stagingRepoPrefix="https://repository.apache.org/content/repositories/orgapache$tlpName";
-export srcQualifier="src"
+export srcQualifier="source-release"
 export 
relTestingUrl="https://$tlpName.apache.org/contributor/verifying-release";
 export tagPrefix="rel/"
 
@@ -141,7 +141,7 @@ createEmail() {
   local stagingrepo
   [[ -n $3 ]] && stagingrepo=$3 || stagingrepo=$(prompter 'staging repository 
number from https://repository.apache.org/#stagingRepositories' '[0-9]+')
   local srcSha
-  [[ -n $4 ]] && srcSha=$4 || srcSha=$(prompter 'SHA512 for source tarball' 
'[0-9a-f]{128}')
+  [[ -n $4 ]] && srcSha=$4 || srcSha=$(prompter 'SHA512 for source release zip 
file' '[0-9a-f]{128}')
 
   local branch
   branch=$ver-rc$rc
@@ -206,7 +206,7 @@ If this vote passes, a gpg-signed tag will be created using:
     $(green "$commit")
 
 Staging repo: $(green "$stagingRepoPrefix-$stagingrepo")
-Source (official release artifact): $(green 
"$stagingRepoPrefix-$stagingrepo/org/apache/$tlpName/$projName/$ver/$projName-$ver-$srcQualifier.tar.gz")
+Source (official release artifact): $(green 
"$stagingRepoPrefix-$stagingrepo/org/apache/$tlpName/$projName/$ver/$projName-$ver-$srcQualifier.zip")
 
 Append ".asc" to download the cryptographic signature for a given artifact.
 (You can also append ".sha1" or ".md5" instead in order to verify the checksums
@@ -215,10 +215,10 @@ generated by Maven to verify the integrity of the Nexus 
repository staging area.
 Signing keys are available at https://www.apache.org/dist/$tlpName/KEYS
 (Expected fingerprint: $(green "$SELECTED_FINGERPRINT"))
 
-In addition to the tarballs and their signatures, the following checksum
+In addition to the zipfiles and their signatures, the following checksum
 files will be added to the dist/release SVN area after release:
-$(yellow "$projName-$ver-$srcQualifier.tar.gz.sha512") will contain:
-SHA512 ($(green "$projName-$ver-$srcQualifier.tar.gz")) = $(yellow "$srcSha")
+$(yellow "$projName-$ver-$srcQualifier.zip.sha512") will contain:
+SHA512 ($(green "$projName-$ver-$srcQualifier.zip")) = $(yellow "$srcSha")
 
 Issues and pull requests related to this release can be found at: $(green 
"https://github.com/apache/accumulo-access/issues?q=milestone%3A$ver";)
 
@@ -413,11 +413,11 @@ createReleaseCandidate() {
   fi
 
   local numSrc
-  numSrc=$(find target/checkout/ -type f -name 
"$projName-$ver-source-release.tar.gz" | wc -l)
+  numSrc=$(find target/checkout/ -type f -name 
"$projName-$ver-source-release.zip" | wc -l)
   shopt -s globstar
   local srcSha
   srcSha=""
-  [[ $numSrc == "1" ]] && srcSha=$(sha512sum 
target/checkout/**/"$projName-$ver-source-release.tar.gz" | cut -f1 -d" ")
+  [[ $numSrc == "1" ]] && srcSha=$(sha512sum 
target/checkout/**/"$projName-$ver-source-release.zip" | cut -f1 -d" ")
 
   # continue to creating email notification
   echo "$(red Running)" "$(yellow "$scriptname" --email "$ver" "$rc")"

Reply via email to