Skip to content

Commit 01d437b

Browse files
Add release properties to commit package.json updates
1 parent 4a45e18 commit 01d437b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,19 @@
3636
<!-- Refer to https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#ensuring-deployment-visibility-in-the-central-publisher-portal -->
3737
<stagingBaseUrl>https://ossrh-staging-api.central.sonatype.com/</stagingBaseUrl>
3838

39+
<!-- Properties used by release plugin -->
40+
<!-- Release prepare step -->
41+
<!-- Include a scm:checkin goal to commit the package.json version update -->
42+
<preparationGoals>clean compile scm:checkin</preparationGoals>
43+
<completionGoals>clean compile scm:checkin</completionGoals>
44+
<!-- Dont push changes. Manually do this when release is successful -->
45+
<pushChanges>false</pushChanges>
46+
<!-- scm-plugin properties to checkin package.json -->
47+
<message>[maven-scm-plugin] Check in package.json</message>
48+
<includes>wcomponents-theme/package.json</includes>
49+
<!-- Do a local checkout in release perform step -->
50+
<localCheckout>true</localCheckout>
51+
3952
</properties>
4053

4154
<licenses>

0 commit comments

Comments
 (0)