Skip to content

Commit 3aea2a8

Browse files
committed
Update coordinates in readme.adoc to latest release
1 parent 6b3cbf3 commit 3aea2a8

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

pom.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,10 @@
169169
<gitFlowConfig>
170170
<developmentBranch>master</developmentBranch>
171171
</gitFlowConfig>
172+
<releaseMergeFFOnly>true</releaseMergeFFOnly>
173+
<commitMessages>
174+
<releaseStartMessage>Update versions for release @{version}</releaseStartMessage>
175+
</commitMessages>
172176
</configuration>
173177
</plugin>
174178
</plugins>
@@ -268,7 +272,7 @@
268272
<goals>
269273
<goal>exec</goal>
270274
</goals>
271-
<phase>compile</phase>
275+
<phase>process-resources</phase>
272276
<configuration>
273277
<executable>sed</executable>
274278
<arguments>

scripts/prepare-release.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
root="$(dirname $(dirname $(realpath "$0")))"
3+
4+
cd "$root" || exit
5+
6+
./mvnw gitflow:release-start
7+
8+
# update readme.adoc
9+
./mvnw process-resources
10+
11+
git add --ignore-errors -A -f -- readme.adoc
12+
git commit --amend --no-edit
13+
./mvnw gitflow:release-finish

0 commit comments

Comments
 (0)