Skip to content

Commit fcc0fd1

Browse files
Fix release.sh (#9087)
1 parent eb1066d commit fcc0fd1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

etc/scripts/release.sh

+4-3
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ exec 6>&1 1>&2
113113
current_version() {
114114
# shellcheck disable=SC2086
115115
mvn ${MAVEN_ARGS} -q \
116-
-f "${WS_DIR}"/file.xml \
116+
-f "${WS_DIR}"/pom.xml \
117117
-Dexec.executable="echo" \
118118
-Dexec.args="\${project.version}" \
119119
--non-recursive \
@@ -151,7 +151,7 @@ update_version(){
151151

152152
# shellcheck disable=SC2086
153153
mvn ${MAVEN_ARGS} "${ARGS[@]}" \
154-
-f ${WS_DIR}/parent/file.xml versions:set versions:set-property \
154+
-f ${WS_DIR}/parent/pom.xml versions:set versions:set-property \
155155
-DgenerateBackupPoms="false" \
156156
-DnewVersion="${version}" \
157157
-Dproperty="helidon.version" \
@@ -270,7 +270,8 @@ deploy_snapshot() {
270270
# property. The deployAtEnd option requires version 3.0.0 of maven-deploy-plugin
271271
# or newer to work correctly on multi-module systems
272272
set -x
273-
mvn "${MAVEN_ARGS}" -e clean deploy \
273+
# shellcheck disable=SC2086
274+
mvn ${MAVEN_ARGS} -e clean deploy \
274275
-Parchetypes \
275276
-DskipTests \
276277
-DaltDeploymentRepository="ossrh::${NEXUS_SNAPSHOT_URL}" \

0 commit comments

Comments
 (0)