From 6e61438102777a8bec1533b0caa06f47f291cf98 Mon Sep 17 00:00:00 2001 From: Erik Schultink Date: Thu, 29 Jan 2026 10:18:13 -0800 Subject: [PATCH 1/2] fix tool script for publishing release artifacts --- tools/release/publish-mvn-artifacts.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/release/publish-mvn-artifacts.sh b/tools/release/publish-mvn-artifacts.sh index 629b868f5..d04af711f 100755 --- a/tools/release/publish-mvn-artifacts.sh +++ b/tools/release/publish-mvn-artifacts.sh @@ -12,6 +12,12 @@ if [ -z "$PATH_TO_REPO" ]; then exit 1 fi +# if PATH_TO_REPO is not blank, but does not end with a slash, add one +if [[ "$PATH_TO_REPO" != "/"* ]]; then + PATH_TO_REPO="$PATH_TO_REPO/" +fi + + if [ ! -f "${PATH_TO_REPO}java/pom.xml" ]; then printf "${RED}${PATH_TO_REPO}java/pom.xml not found. set argument to point to the root of a psoxy checkout. Exiting.${NC}\n" exit 1 From 62dc2e898b49530e8f394f8167e4b67825fefc58 Mon Sep 17 00:00:00 2001 From: Erik Schultink Date: Thu, 29 Jan 2026 10:19:19 -0800 Subject: [PATCH 2/2] update workflow reference --- tools/release/publish-mvn-artifacts.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/release/publish-mvn-artifacts.sh b/tools/release/publish-mvn-artifacts.sh index d04af711f..00f3af1ed 100755 --- a/tools/release/publish-mvn-artifacts.sh +++ b/tools/release/publish-mvn-artifacts.sh @@ -17,13 +17,12 @@ if [[ "$PATH_TO_REPO" != "/"* ]]; then PATH_TO_REPO="$PATH_TO_REPO/" fi - if [ ! -f "${PATH_TO_REPO}java/pom.xml" ]; then printf "${RED}${PATH_TO_REPO}java/pom.xml not found. set argument to point to the root of a psoxy checkout. Exiting.${NC}\n" exit 1 fi -printf "${YELLOW}WARNING: this is not recommended; use ${BLUE}gh run publish-mvn-artifacts.yaml --ref ${NC}${YELLOW} instead. That will be a more reliable fresh build.${NC}\n" +printf "${YELLOW}WARNING: this is not recommended; use ${BLUE}gh run publish-release-artifacts.yaml --ref ${NC}${YELLOW} instead. That will be a more reliable fresh build.${NC}\n" # 1. Branch/Tag Validation CURRENT_BRANCH=$(git -C "$PATH_TO_REPO" branch --show-current)