Skip to content

Commit ae989f3

Browse files
committed
use profile to update versions in readme.adoc only when preparing the release
1 parent b6483e5 commit ae989f3

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

pom.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,7 @@
256256
<profile>
257257
<id>update-doc</id>
258258
<activation>
259-
<os>
260-
<family>unix</family>
261-
</os>
259+
<activeByDefault>false</activeByDefault>
262260
</activation>
263261
<build>
264262
<plugins>

scripts/prepare-release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ cd "$root" || exit
66
./mvnw gitflow:release-start
77

88
# update readme.adoc
9-
./mvnw process-resources
10-
9+
./mvnw process-resources -P update-doc
1110
git add --ignore-errors -A -f -- readme.adoc
1211
git commit --amend --no-edit
12+
1313
./mvnw gitflow:release-finish

0 commit comments

Comments
 (0)