Skip to content

Commit

Permalink
1.19.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandr-m committed Oct 13, 2022
1 parent 231ebb6 commit 0d9f73c
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## v1.19.0 (2022-10-13)

* Fixed snapshot checking with up-to-date project info - [#345](https://github.com/aleksandr-m/gitflow-maven-plugin/issues/345)
* Improved remote branch fetching comparing and checking out
* Added ability to update git submodules before commit - [#348](https://github.com/aleksandr-m/gitflow-maven-plugin/issues/348)
* Added tag push on hotfix if it isn't pushed with the branch - [#349](https://github.com/aleksandr-m/gitflow-maven-plugin/issues/349)
* Added fetching of remote release branch on hotfix-finish goal - [#318](https://github.com/aleksandr-m/gitflow-maven-plugin/issues/318)
* Added more logs for verbose mode - [#331](https://github.com/aleksandr-m/gitflow-maven-plugin/issues/331)

## v1.18.0 (2022-02-20)

### Breaking changes
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The plugin is available from Maven Central.
<plugin>
<groupId>com.amashchenko.maven.plugin</groupId>
<artifactId>gitflow-maven-plugin</artifactId>
<version>1.18.0</version>
<version>1.19.0</version>
<configuration>
<!-- optional configuration -->
</configuration>
Expand Down Expand Up @@ -81,6 +81,12 @@ mvn gitflow:<goal> -DargLine='-DprocessAllModules'
```


# Git Submodules

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.
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.


# Eclipse Plugins build with Tycho

Since version `1.1.0` this plugin supports Eclipse plugin projects which are build with [Tycho](https://eclipse.org/tycho/).
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<artifactId>gitflow-maven-plugin</artifactId>
<packaging>maven-plugin</packaging>
<name>gitflow-maven-plugin</name>
<version>1.18.1-SNAPSHOT</version>
<version>1.19.0</version>

<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>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,11 @@ public abstract class AbstractGitFlowMojo extends AbstractMojo {
private String gitPushOptions;

/**
* Explicitly enable or disable executing submodule update before commit. By
* Explicitly enable or disable executing Git submodule update before commit. By
* default plugin tries to automatically determine if update of the Git
* submodules is needed.
*
* @since 1.19.0
*/
@Parameter(property = "updateGitSubmodules")
private Boolean updateGitSubmodules;
Expand Down

0 comments on commit 0d9f73c

Please sign in to comment.