This is an automated email from the ASF dual-hosted git repository.
matrei pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/grails-gradle-publish.git
The following commit(s) were added to refs/heads/main by this push:
new 8708c63 [skip ci] post 0.0.3 release updates (#20)
8708c63 is described below
commit 8708c634d7393c7a0af41a336bd978f41fc03c6b
Author: Mattias Reichel <[email protected]>
AuthorDate: Tue Dec 2 15:10:00 2025 +0100
[skip ci] post 0.0.3 release updates (#20)
---
.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