This is an automated email from the ASF dual-hosted git repository. ctubbsii 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 6451678 Update release candidate script 6451678 is described below commit 6451678c80bc26779aae539388fd8e2605d22d19 Author: Christopher Tubbs <ctubb...@apache.org> AuthorDate: Tue Feb 13 22:06:31 2024 -0500 Update release candidate script Fix the projName capitalization and restore the elements of the script pertaining to the source-tarball, rather than the zip and reduce the differences in the file from the version in the main Accumulo project repo. This fixes #42 --- 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 a467e15..c7d3b47 100755 --- a/src/build/create-release-candidate.sh +++ b/src/build/create-release-candidate.sh @@ -23,7 +23,7 @@ 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="source-release" @@ -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 release zip file' '[0-9a-f]{128}') + [[ -n $4 ]] && srcSha=$4 || srcSha=$(prompter 'SHA512 for source tarball' '[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.zip") +Source (official release artifact): $(green "$stagingRepoPrefix-$stagingrepo/org/apache/$tlpName/$projName/$ver/$projName-$ver-$srcQualifier.tar.gz") 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,12 +215,12 @@ 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 zipfiles and their signatures, the following checksum +In addition to the tarballs and their signatures, the following checksum files will be added to the dist/release SVN area after release: -$(yellow "$projName-$ver-$srcQualifier.zip.sha512") will contain: -SHA512 ($(green "$projName-$ver-$srcQualifier.zip")) = $(yellow "$srcSha") +$(yellow "$projName-$ver-$srcQualifier.tar.gz.sha512") will contain: +SHA512 ($(green "$projName-$ver-$srcQualifier.tar.gz")) = $(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") +Issues and pull requests related to this release can be found at: $(green "https://github.com/apache/$projName/issues?q=milestone%3A$ver") Please vote one of: [ ] +1 - I have verified and accept... @@ -413,11 +413,11 @@ createReleaseCandidate() { fi local numSrc - numSrc=$(find target/checkout/ -type f -name "$projName-$ver-source-release.zip" | wc -l) + numSrc=$(find target/checkout/ -type f -name "$projName-$ver-source-release.tar.gz" | wc -l) shopt -s globstar local srcSha srcSha="" - [[ $numSrc == "1" ]] && srcSha=$(sha512sum target/checkout/**/"$projName-$ver-source-release.zip" | cut -f1 -d" ") + [[ $numSrc == "1" ]] && srcSha=$(sha512sum target/checkout/**/"$projName-$ver-source-release.tar.gz" | cut -f1 -d" ") # continue to creating email notification echo "$(red Running)" "$(yellow "$scriptname" --email "$ver" "$rc")"