Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix: Set lf-activate-env to use Python 3.8
[releng/global-jjb.git]
/
shell
/
maven-central.sh
diff --git
a/shell/maven-central.sh
b/shell/maven-central.sh
index
dede18d
..
88c3bc1
100644
(file)
--- a/
shell/maven-central.sh
+++ b/
shell/maven-central.sh
@@
-8,6
+8,7
@@
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
##############################################################################
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
##############################################################################
+echo "---> maven-central.sh"
profile_id="${OSSRH_PROFILE_ID:-}"
profile_id="${OSSRH_PROFILE_ID:-}"
@@
-20,4
+21,7
@@
lftools deploy nexus-stage "https://oss.sonatype.org" "$profile_id" "$WORKSPACE/
mc_staging_repo=$(sed -n -e 's/Staging repository \(.*\) created\./\1/p' "$MC_TMP_FILE")
rm -f "$MC_TMP_FILE"
mc_staging_repo=$(sed -n -e 's/Staging repository \(.*\) created\./\1/p' "$MC_TMP_FILE")
rm -f "$MC_TMP_FILE"
-echo "$mc_staging_repo https://oss.sonatype.org/content/repositories/$mc_staging_repo" | tee -a "$WORKSPACE/archives/staging-repo.txt"
+# shellcheck disable=SC2140
+echo "$mc_staging_repo "\
+"https://oss.sonatype.org/content/repositories/$mc_staging_repo" | \
+ tee -a "$WORKSPACE/archives/staging-repo.txt"