Skip to content

Commit 8b1621f

Browse files
committed
chore(release): Skip citrus-remote-sample module during release
1 parent 257e02c commit 8b1621f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/commands/release

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,13 +161,13 @@ build_and_stage_artifacts() {
161161
cd $working_dir
162162
if [ $(hasflag --local-release) ]; then
163163
echo "==== Release to local"
164-
./mvnw ${maven_opts} install
164+
./mvnw ${maven_opts} install -pl '!:citrus-remote-sample'
165165
elif [ $(hasflag --snapshot-release) ]; then
166166
echo "==== Release snapshot to local"
167-
./mvnw ${maven_opts} install
167+
./mvnw ${maven_opts} install -pl '!:citrus-remote-sample'
168168
else
169169
echo "==== Release to Maven central and stage artifacts to Sonatype"
170-
./mvnw ${maven_opts} install deploy -DfailIfNoTests=false -Dtest -Dit.test -Prelease-central -DstagingDescription="Staging Citrus Remote for v$release_version"
170+
./mvnw ${maven_opts} install deploy -pl '!:citrus-remote-sample' -DfailIfNoTests=false -Dtest -Dit.test -Prelease-central -DstagingDescription="Staging Citrus Remote for v$release_version"
171171
fi
172172
}
173173

0 commit comments

Comments
 (0)