This is an automated email from the ASF dual-hosted git repository.
jamesbognar pushed a commit to branch juneau-8.1.4-branch
in repository https://gitbox.apache.org/repos/asf/juneau.git
The following commit(s) were added to refs/heads/juneau-8.1.4-branch by this
push:
new e4bac2ec4 Add updates to release commands.
new c5123c256 Merge branch 'juneau-8.1.4-branch' of
https://gitbox.apache.org/repos/asf/juneau.git into juneau-8.1.4-branch
e4bac2ec4 is described below
commit e4bac2ec4532376e5a4f04830ed6a6c14ad4f2ae
Author: James Bognar <[email protected]>
AuthorDate: Thu Oct 17 09:58:54 2024 -0400
Add updates to release commands.
---
juneau-release-env.sh | 1 +
juneau-release.sh | 7 +++++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/juneau-release-env.sh b/juneau-release-env.sh
index c9279cab9..065241ca1 100644
--- a/juneau-release-env.sh
+++ b/juneau-release-env.sh
@@ -22,6 +22,7 @@ export X_USERNAME=jamesbognar
export [email protected]
export X_CLEANM2=N
export X_GIT_BRANCH=juneau-8.1.4-branch
+export
X_JAVA_HOME=/Users/james.bognar/blt/tools/Darwin/jdk/openjdk_11.0.21.0.102_11.69.52_x64
echo ' '
echo --- Settings
------------------------------------------------------------------
diff --git a/juneau-release.sh b/juneau-release.sh
index d36fe850c..2c1ae2f09 100755
--- a/juneau-release.sh
+++ b/juneau-release.sh
@@ -16,6 +16,9 @@
. juneau-release-env.sh
+export PATH=${X_JAVA_HOME}/bin:$PATH
+echo PATH=$PATH
+
function fail {
echo ' '
echo
'*******************************************************************************'
@@ -204,16 +207,16 @@ cd $X_STAGING/dist/source/$X_RELEASE
wget -e robots=off --recursive --no-parent --no-directories -A
"*-source-release*"
https://repository.apache.org/content/repositories/$X_REPO/org/apache/juneau/
mv juneau-${X_VERSION}-source-release.zip apache-juneau-${X_VERSION}-src.zip
mv juneau-${X_VERSION}-source-release.zip.asc
apache-juneau-${X_VERSION}-src.zip.asc
-mv juneau-${X_VERSION}-source-release.zip.md5
apache-juneau-${X_VERSION}-src.zip.md5
gpg --print-md SHA512 apache-juneau-${X_VERSION}-src.zip >
apache-juneau-${X_VERSION}-src.zip.sha512
rm *.sha1
+rm *.md5
cd $X_STAGING/dist/binaries/$X_RELEASE
wget -e robots=off --recursive --no-parent --no-directories -A
"juneau-distrib*-bin.zip*"
https://repository.apache.org/content/repositories/$X_REPO/org/apache/juneau/
mv juneau-distrib-${X_VERSION}-bin.zip apache-juneau-${X_VERSION}-bin.zip
mv juneau-distrib-${X_VERSION}-bin.zip.asc
apache-juneau-${X_VERSION}-bin.zip.asc
-mv juneau-distrib-${X_VERSION}-bin.zip.md5
apache-juneau-${X_VERSION}-bin.zip.md5
gpg --print-md SHA512 apache-juneau-${X_VERSION}-bin.zip >
apache-juneau-${X_VERSION}-bin.zip.sha512
rm *.sha1
+rm *.md5
cd $X_STAGING/dist
svn add source/$X_RELEASE
svn add binaries/$X_RELEASE