diff --git a/scripts/release.sh b/scripts/release.sh index 0a12716..d568b43 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -133,7 +133,7 @@ CURRENT_VERSION=$(read_revision "$PARENT_POM") BOM_VERSION=$(read_revision "$BOM_POM") [[ "$BOM_VERSION" == "$CURRENT_VERSION" ]] || die \ - "版本不一致:$PARENT_POM=$CURRENT_VERSION,$BOM_POM=$BOM_VERSION,请先同步" + "版本不一致:${PARENT_POM}=${CURRENT_VERSION},${BOM_POM}=${BOM_VERSION},请先同步" if [[ "$MODE" == "snapshot" ]]; then if [[ -n "$VERSION_ARG" ]]; then @@ -221,7 +221,7 @@ if [[ "$MODE" == "snapshot" || $SKIP_TESTS -eq 1 ]]; then MVN_ARGS+=(-DskipTests) fi -log "部署 $VERSION 到云效仓库 $REPO_ID($REPO_URL)" +log "部署 $VERSION 到云效仓库 ${REPO_ID}(${REPO_URL})" run mvn "${MVN_ARGS[@]}" clean deploy if [[ "$MODE" == "release" ]]; then