This is an automated email from the ASF dual-hosted git repository. matrei pushed a commit to branch post-0.0.3-release in repository https://gitbox.apache.org/repos/asf/grails-gradle-publish.git
commit f1b167f7402eb3032353fe98973a19865bee656e Author: Mattias Reichel <[email protected]> AuthorDate: Mon Dec 1 13:55:23 2025 +0100 [skip ci] post 0.0.3 release updates --- .github/scripts/releaseDistributions.sh | 15 ++++++++------- .github/scripts/releaseJarFiles.sh | 7 ++++--- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/scripts/releaseDistributions.sh b/.github/scripts/releaseDistributions.sh index a05a29d..58f804d 100755 --- a/.github/scripts/releaseDistributions.sh +++ b/.github/scripts/releaseDistributions.sh @@ -19,21 +19,18 @@ # under the License. # -# ./releaseDistributions.sh <tag> <username> <password> +# ./releaseDistributions.sh <release-tag> <svn-folder> <username> set -euo pipefail if [[ $# -ne 2 ]]; then - echo "Usage: $0 <tag> <username>" >&2 + echo "Usage: $0 <release-tag> <svn-folder> <username>" >&2 exit 1 fi RELEASE_TAG="$1" -RELEASE_VERSION="${RELEASE_TAG#v}" -SVN_USER="$2" -RELEASE_ROOT="https://dist.apache.org/repos/dist/release/grails/grails-publish" -DEV_ROOT="https://dist.apache.org/repos/dist/dev/grails/grails-publish" - +SVN_FOLDER="$2" +SVN_USER="$3" read -r -s -p "Password: " SVN_PASS echo @@ -50,6 +47,10 @@ if [[ -z "${SVN_PASS}" ]]; then exit 1 fi +RELEASE_VERSION="${RELEASE_TAG#v}" +RELEASE_ROOT="https://dist.apache.org/repos/dist/release/grails/${SVN_FOLDER}" +DEV_ROOT="https://dist.apache.org/repos/dist/dev/grails/${SVN_FOLDER}" + svn_flags=(--non-interactive --trust-server-cert --username "${SVN_USER}" --password "${SVN_PASS}") svn_exists() { diff --git a/.github/scripts/releaseJarFiles.sh b/.github/scripts/releaseJarFiles.sh index b0a4874..a18f7c5 100755 --- a/.github/scripts/releaseJarFiles.sh +++ b/.github/scripts/releaseJarFiles.sh @@ -19,16 +19,15 @@ # under the License. # -# ./releaseJarFiles.sh <staging repo description> <username> <password> +# ./releaseJarFiles.sh <staging-repo-description> <username> set -euo pipefail if [[ $# -ne 2 ]]; then - echo "Usage: $0 <staging repo description> <username>" >&2 + echo "Usage: $0 <staging-repo-description> <username>" >&2 exit 1 fi -NEXUS_URL="https://repository.apache.org" STAGING_DESCRIPTION="$1" NEXUS_USER="$2" read -r -s -p "Password: " NEXUS_PASS @@ -47,6 +46,8 @@ if [[ -z "${NEXUS_PASS}" ]]; then exit 1 fi +NEXUS_URL="https://repository.apache.org" + nexusApi() { local request_method="$1"; shift local path="$1"; shift
