Skip to content

Commit fe3a9a0

Browse files
committed
1.15.0 release
1 parent a461ca6 commit fe3a9a0

File tree

6 files changed

+22
-4
lines changed

6 files changed

+22
-4
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog
22

3+
## v1.15.0 (2020-11-04)
4+
5+
* Updated java version to 1.7 - [#252](https://github.com/aleksandr-m/gitflow-maven-plugin/pull/252)
6+
* Changed commit logic in `feature-finish` goal to avoid directly committing into the develop - [#226](https://github.com/aleksandr-m/gitflow-maven-plugin/issues/226)
7+
* Fixed wrong development version after `hotfix-finish` - [#211](https://github.com/aleksandr-m/gitflow-maven-plugin/issues/211)
8+
* Fixed failing `hotfix-finish` in fresh checkout - [#219](https://github.com/aleksandr-m/gitflow-maven-plugin/issues/219)
9+
* Added ability to skip merging release into production branch - [#74](https://github.com/aleksandr-m/gitflow-maven-plugin/issues/74)
10+
* Added ability to increment feature version during `feature-finish` goal - [#162](https://github.com/aleksandr-m/gitflow-maven-plugin/issues/162)
11+
* Added current feature branch as the default choice for `feature-finish` - [#227](https://github.com/aleksandr-m/gitflow-maven-plugin/issues/227)
12+
* Added properties to `featureFinishDevMergeMessage` message - [#247](https://github.com/aleksandr-m/gitflow-maven-plugin/issues/247)
13+
314
## v1.14.0 (2019-12-06)
415

516
* Fixed snapshot dependencies check and improved version resolution - [#204](https://github.com/aleksandr-m/gitflow-maven-plugin/pull/204)

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The plugin is available from Maven Central.
2323
<plugin>
2424
<groupId>com.amashchenko.maven.plugin</groupId>
2525
<artifactId>gitflow-maven-plugin</artifactId>
26-
<version>1.14.0</version>
26+
<version>1.15.0</version>
2727
<configuration>
2828
<!-- optional configuration -->
2929
</configuration>
@@ -216,6 +216,8 @@ The default value is `false` (e.g. if the project version is `1.0.0-SNAPSHOT` an
216216
The `gitflow:feature-start` goal has `featureNamePattern` parameter which allows to enforce naming of the feature branches with a regular expression. Doesn't have effect if it isn't set or left blank.
217217
By default it isn't set.
218218

219+
The `gitflow:feature-finish` goal has `incrementVersionAtFinish` parameter which if set to `true` will increment version number during feature finish. The default is `false`.
220+
219221
All `-finish` goals have `keepBranch` parameter which controls whether created support branch will be kept in Git after the goal finishes.
220222
The default value is `false` (i.e. the supporting branch will be deleted). If the `pushRemote` parameter is set to `true` and `keepBranch` is `false` remote branch will be deleted as well.
221223

@@ -251,12 +253,14 @@ The `gitflow:release-start` goal has `fromCommit` parameter which allows to star
251253
The `gitflow:release-start` and `gitflow:release-finish` goals have `useSnapshotInRelease` parameter which allows to start the release with SNAPSHOT version and finish it without this value in project version. By default the value is `false`.
252254
For example, if the release version is `1.0.2` and `useSnapshotInRelease` is set to `true` and using `gitflow:release-start` goal then the release version will be `1.0.2-SNAPSHOT` and when finishing the release with `gitflow:release-finish` goal, the release version will be `1.0.2`
253255

256+
The `gitflow:release` and `gitflow:release-start` goals have `skipReleaseMergeProdBranch` parameter which prevents merging the release branch into the production branch. The default value is `false`.
257+
254258
The `gitflow:hotfix-start` and `gitflow:hotfix-finish` goals have `useSnapshotInHotfix` parameter which allows to start the hotfix with SNAPSHOT version and finish it without this value in the version. By default the value is `false`.
255259
For example, if the hotfix version is `1.0.2.1` and `useSnapshotInHotfix` is set to `true` and using `gitflow:hotfix-start` goal then the hotfix version will be `1.0.2.1-SNAPSHOT` and when finishing the release with `gitflow:hotfix-finish` goal, the release version will be `1.0.2.1`
256260

257-
The `gitflow:hotfix-finish` goal also supports the parameter `skipMergeDevBranch` which prevents merging the hotfix branch into the development branch.
261+
The `gitflow:hotfix-finish` goal supports the parameter `skipMergeDevBranch` which prevents merging the hotfix branch into the development branch.
258262

259-
The `gitflow:hotfix-finish` goal also supports the parameter `skipMergeProdBranch` which prevents merging the hotfix branch into the production branch and deletes the hotfix branch leaving only the tagged commit. Useful, along with `skipMergeDevBranch`, to allow hotfixes to very old code that are not applicable to current development.
263+
The `gitflow:hotfix-finish` goal supports the parameter `skipMergeProdBranch` which prevents merging the hotfix branch into the production branch and deletes the hotfix branch leaving only the tagged commit. Useful, along with `skipMergeDevBranch`, to allow hotfixes to very old code that are not applicable to current development.
260264

261265
Version update of all modules ignoring groupId and artifactId can be forced by setting `versionsForceUpdate` parameter to `true`. The default value is `false`.
262266

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<artifactId>gitflow-maven-plugin</artifactId>
2222
<packaging>maven-plugin</packaging>
2323
<name>gitflow-maven-plugin</name>
24-
<version>1.14.1-SNAPSHOT</version>
24+
<version>1.15.0</version>
2525

2626
<description>The Git-Flow Maven Plugin supports various Git workflows, including Vincent Driessen's successful Git branching model and GitHub Flow. This plugin runs Git and Maven commands from the command line. Supports Eclipse Plugins build with Tycho.</description>
2727

src/main/java/com/amashchenko/maven/plugin/gitflow/GitFlowFeatureFinishMojo.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ public class GitFlowFeatureFinishMojo extends AbstractGitFlowMojo {
9292
/**
9393
* Whether to increment the version during feature-finish goal.
9494
*
95+
* @since 1.15.0
9596
*/
9697
@Parameter(property = "incrementVersionAtFinish", defaultValue = "false")
9798
private boolean incrementVersionAtFinish;

src/main/java/com/amashchenko/maven/plugin/gitflow/GitFlowReleaseFinishMojo.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ public class GitFlowReleaseFinishMojo extends AbstractGitFlowMojo {
162162
/**
163163
* Whether to skip merging release into the production branch.
164164
*
165+
* @since 1.15.0
165166
*/
166167
@Parameter(property = "skipReleaseMergeProdBranch", defaultValue = "false")
167168
private boolean skipReleaseMergeProdBranch = false;

src/main/java/com/amashchenko/maven/plugin/gitflow/GitFlowReleaseMojo.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ public class GitFlowReleaseMojo extends AbstractGitFlowMojo {
150150
/**
151151
* Whether to skip merging release into the production branch.
152152
*
153+
* @since 1.15.0
153154
*/
154155
@Parameter(property = "skipReleaseMergeProdBranch", defaultValue = "false")
155156
private boolean skipReleaseMergeProdBranch = false;

0 commit comments

Comments
 (0)