fix: 配置文件修改

This commit is contained in:
caske 2026-11-17 11:39:33 +08:00
parent d46e36e916
commit 2cc5b7d903

View file

@ -133,7 +133,7 @@ CURRENT_VERSION=$(read_revision "$PARENT_POM")
BOM_VERSION=$(read_revision "$BOM_POM") BOM_VERSION=$(read_revision "$BOM_POM")
[[ "$BOM_VERSION" == "$CURRENT_VERSION" ]] || die \ [[ "$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 [[ "$MODE" == "snapshot" ]]; then
if [[ -n "$VERSION_ARG" ]]; then if [[ -n "$VERSION_ARG" ]]; then
@ -221,7 +221,7 @@ if [[ "$MODE" == "snapshot" || $SKIP_TESTS -eq 1 ]]; then
MVN_ARGS+=(-DskipTests) MVN_ARGS+=(-DskipTests)
fi fi
log "部署 $VERSION 到云效仓库 $REPO_ID($REPO_URL)" log "部署 $VERSION 到云效仓库 ${REPO_ID}(${REPO_URL})"
run mvn "${MVN_ARGS[@]}" clean deploy run mvn "${MVN_ARGS[@]}" clean deploy
if [[ "$MODE" == "release" ]]; then if [[ "$MODE" == "release" ]]; then