Skip to content

Commit cf70456

Browse files
committed
fix: trying to set property to use with Maven Release Plugin
1 parent 8621956 commit cf70456

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/se/bjurr/gitchangelog/plugin/SemanticVersionMojo.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public void execute() throws MojoExecutionException {
8181
new XmlModifier(pomFile).setVersion(nextVersion);
8282

8383
// Set property that is read by Maven Release Plugin
84-
this.project.getProperties().put("tag", nextVersion);
84+
this.project.getProperties().setProperty("tag", nextVersion);
8585
} catch (final Exception e) {
8686
throw new MojoExecutionException(e.getMessage(), e);
8787
}

0 commit comments

Comments
 (0)