Skip to content

Commit

Permalink
use profile to update versions in readme.adoc only when preparing the…
Browse files Browse the repository at this point in the history
… release
  • Loading branch information
Andy2003 committed Apr 26, 2021
1 parent b6483e5 commit ae989f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,7 @@
<profile>
<id>update-doc</id>
<activation>
<os>
<family>unix</family>
</os>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
Expand Down
4 changes: 2 additions & 2 deletions scripts/prepare-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ cd "$root" || exit
./mvnw gitflow:release-start

# update readme.adoc
./mvnw process-resources

./mvnw process-resources -P update-doc
git add --ignore-errors -A -f -- readme.adoc
git commit --amend --no-edit

./mvnw gitflow:release-finish

0 comments on commit ae989f3

Please sign in to comment.