Skip to content

Commit 0d9f73c

Browse files
committed
1.19.0 release
1 parent 231ebb6 commit 0d9f73c

File tree

4 files changed

+19
-3
lines changed

4 files changed

+19
-3
lines changed

CHANGELOG.md

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

3+
## v1.19.0 (2022-10-13)
4+
5+
* Fixed snapshot checking with up-to-date project info - [#345](https://github.com/aleksandr-m/gitflow-maven-plugin/issues/345)
6+
* Improved remote branch fetching comparing and checking out
7+
* Added ability to update git submodules before commit - [#348](https://github.com/aleksandr-m/gitflow-maven-plugin/issues/348)
8+
* Added tag push on hotfix if it isn't pushed with the branch - [#349](https://github.com/aleksandr-m/gitflow-maven-plugin/issues/349)
9+
* Added fetching of remote release branch on hotfix-finish goal - [#318](https://github.com/aleksandr-m/gitflow-maven-plugin/issues/318)
10+
* Added more logs for verbose mode - [#331](https://github.com/aleksandr-m/gitflow-maven-plugin/issues/331)
11+
312
## v1.18.0 (2022-02-20)
413

514
### Breaking changes

README.md

Lines changed: 7 additions & 1 deletion
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.18.0</version>
26+
<version>1.19.0</version>
2727
<configuration>
2828
<!-- optional configuration -->
2929
</configuration>
@@ -81,6 +81,12 @@ mvn gitflow:<goal> -DargLine='-DprocessAllModules'
8181
```
8282

8383

84+
# Git Submodules
85+
86+
The plugin looks for the `.gitmodules` file and if it exists the `git submodule update` command will be executed before each Git commit. This is needed to avoid leaving working copy in dirty state which can happen when switching between branches.
87+
To explicitly control whether Git submodules will be updated before commit the `updateGitSubmodules` parameter can be used. Setting it to `true` will enable Git submodules update and `false` will disable it even if `.gitmodules` file exists. The default value is not set, meaning the plugin tries to automatically determine if update is needed.
88+
89+
8490
# Eclipse Plugins build with Tycho
8591

8692
Since version `1.1.0` this plugin supports Eclipse plugin projects which are build with [Tycho](https://eclipse.org/tycho/).

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.18.1-SNAPSHOT</version>
24+
<version>1.19.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/AbstractGitFlowMojo.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,10 +230,11 @@ public abstract class AbstractGitFlowMojo extends AbstractMojo {
230230
private String gitPushOptions;
231231

232232
/**
233-
* Explicitly enable or disable executing submodule update before commit. By
233+
* Explicitly enable or disable executing Git submodule update before commit. By
234234
* default plugin tries to automatically determine if update of the Git
235235
* submodules is needed.
236236
*
237+
* @since 1.19.0
237238
*/
238239
@Parameter(property = "updateGitSubmodules")
239240
private Boolean updateGitSubmodules;

0 commit comments

Comments
 (0)