Skip to content

Commit

Permalink
Add new version on all module
Browse files Browse the repository at this point in the history
Fix deploy script

Signed-off-by: jk KPADEY <[email protected]>
  • Loading branch information
mivek committed May 27, 2020
1 parent cf11476 commit 9273a82
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion metarParser-commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>metarParser</artifactId>
<groupId>io.github.mivek</groupId>
<version>1.10.5</version>
<version>2.0.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion metarParser-entities/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>metarParser</artifactId>
<groupId>io.github.mivek</groupId>
<version>1.10.5</version>
<version>2.0.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion metarParser-parsers/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>metarParser</artifactId>
<groupId>io.github.mivek</groupId>
<version>1.10.5</version>
<version>2.0.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion metarParser-services/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>metarParser</artifactId>
<groupId>io.github.mivek</groupId>
<version>1.10.5</version>
<version>2.0.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion metarParser-spi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>metarParser</artifactId>
<groupId>io.github.mivek</groupId>
<version>1.10.5</version>
<version>2.0.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
6 changes: 3 additions & 3 deletions scripts/before_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ if [[ "$TRAVIS_SECURE_ENV_VARS" = "true" ]] && [[ "$TRAVIS_PULL_REQUEST" = "fal
fi

if [[ "$TRAVIS_COMMIT_MESSAGE" =~ (Merge pull request.*fix) ]] || [[ "$TRAVIS_COMMIT_MESSAGE" =~ (Merge pull request.*clean) ]]; then
mvn build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.nextIncrementalVersion} versions:commit
mvn build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.nextIncrementalVersion} -DprocessAllModules versions:commit
isPRMerged=true
elif [[ "$TRAVIS_COMMIT_MESSAGE" =~ (Merge pull request.*feature) ]] ; then
mvn build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.majorVersion}.\${parsedVersion.nextMinorVersion}.0 versions:commit
mvn build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.majorVersion}.\${parsedVersion.nextMinorVersion}.0 -DprocessAllModules versions:commit
isPRMerged=true
elif [[ "$TRAVIS_COMMIT_MESSAGE" =~ (Merge pull request.*major) ]] ; then
mvn build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.nextMajorVersion}.0.0 versions:commit
mvn build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.nextMajorVersion}.0.0 -DprocessAllModules versions:commit
isPRMerged=true
fi

Expand Down

0 comments on commit 9273a82

Please sign in to comment.