I intend to use the preReleaseGoals parameter in the gitflow:release to update my changelogs during a release.
To do so, I need the @{version} property to be replaced in the parameter exactly like the way it is used in the messages.
My current usage is:
mvn gitflow:release -DpreReleaseGoals="heylogs:release -Dheylogs.ref=2.5.2"
But I would like to do this instead:
mvn gitflow:release -DpreReleaseGoals="heylogs:release -Dheylogs.ref=@{version}"
I intend to use the
preReleaseGoalsparameter in thegitflow:releaseto update my changelogs during a release.To do so, I need the
@{version}property to be replaced in the parameter exactly like the way it is used in the messages.My current usage is:
mvn gitflow:release -DpreReleaseGoals="heylogs:release -Dheylogs.ref=2.5.2"But I would like to do this instead:
mvn gitflow:release -DpreReleaseGoals="heylogs:release -Dheylogs.ref=@{version}"