GH-61 - Include all modules in release preparations.
Added dedicated prepare-release profile to make sure that all modules get their versions updated on mvn release:prepare. This is required to make sure the tag lands on a commit that especially has the distribution module updated so that the documentation publication actually produces the artifacts for the released version.
This commit is contained in:
@@ -28,6 +28,7 @@
|
|||||||
[source]
|
[source]
|
||||||
----
|
----
|
||||||
./mvnw release:prepare \
|
./mvnw release:prepare \
|
||||||
|
-Pprepare-release \
|
||||||
-DreleaseVersion="${version}" \
|
-DreleaseVersion="${version}" \
|
||||||
-DdevelopmentVersion="${devVersion}" \
|
-DdevelopmentVersion="${devVersion}" \
|
||||||
-DscmReleaseCommitComment="${ticketId} - Release version ${version}." \
|
-DscmReleaseCommitComment="${ticketId} - Release version ${version}." \
|
||||||
|
|||||||
12
pom.xml
12
pom.xml
@@ -96,6 +96,18 @@ limitations under the License.
|
|||||||
|
|
||||||
</profile>
|
</profile>
|
||||||
|
|
||||||
|
<profile>
|
||||||
|
|
||||||
|
<id>prepare-release</id>
|
||||||
|
|
||||||
|
<modules>
|
||||||
|
<module>spring-modulith-distribution</module>
|
||||||
|
<module>spring-modulith-example</module>
|
||||||
|
<module>spring-modulith-integration-test</module>
|
||||||
|
</modules>
|
||||||
|
|
||||||
|
</profile>
|
||||||
|
|
||||||
<profile>
|
<profile>
|
||||||
|
|
||||||
<id>ci</id>
|
<id>ci</id>
|
||||||
|
|||||||
Reference in New Issue
Block a user