forked from spring-cloud/spring-cloud-deployer-kubernetes
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/sh | ||
|
||
# ---------------------------------------------------------------------------- | ||
# Script maintaining versions | ||
# | ||
# Bump up next minor development version for parents. | ||
# ---------------------------------------------------------------------------- | ||
|
||
find_basedir() { | ||
local basedir=$(cd -P -- "$(dirname -- "$0")" && cd .. && cd .. && pwd -P) | ||
echo "${basedir}" | ||
} | ||
|
||
export PROJECTBASEDIR=$(find_basedir) | ||
|
||
(cd $PROJECTBASEDIR && ./mvnw build-helper:parse-version versions:update-parent -DgenerateBackupPoms=false -DallowSnapshots=true -DparentVersion='${parsedVersion.majorVersion}.${parsedVersion.nextMinorVersion}' && ./mvnw build-helper:parse-version versions:update-property -DgenerateBackupPoms=false -DallowSnapshots=true -Dproperty=spring-cloud-deployer.version -DnewVersion='${parsedVersion.majorVersion}.${parsedVersion.nextMinorVersion}.0.BUILD-SNAPSHOT') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/sh | ||
|
||
# ---------------------------------------------------------------------------- | ||
# Script maintaining versions | ||
# | ||
# Bump up next minor development version. | ||
# ---------------------------------------------------------------------------- | ||
|
||
find_basedir() { | ||
local basedir=$(cd -P -- "$(dirname -- "$0")" && cd .. && cd .. && pwd -P) | ||
echo "${basedir}" | ||
} | ||
|
||
export PROJECTBASEDIR=$(find_basedir) | ||
|
||
(cd $PROJECTBASEDIR && ./mvnw build-helper:parse-version versions:set -DprocessAllModules=false -DgenerateBackupPoms=false -DnewVersion='${parsedVersion.majorVersion}.${parsedVersion.nextMinorVersion}.0.BUILD-SNAPSHOT') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/sh | ||
|
||
# ---------------------------------------------------------------------------- | ||
# Script maintaining versions | ||
# | ||
# Bump up next build development version for parents. | ||
# ---------------------------------------------------------------------------- | ||
|
||
find_basedir() { | ||
local basedir=$(cd -P -- "$(dirname -- "$0")" && cd .. && cd .. && pwd -P) | ||
echo "${basedir}" | ||
} | ||
|
||
export PROJECTBASEDIR=$(find_basedir) | ||
|
||
(cd $PROJECTBASEDIR && ./mvnw build-helper:parse-version versions:update-parent -DgenerateBackupPoms=false -DallowSnapshots=true -DparentVersion='[${parsedVersion.majorVersion}.${parsedVersion.minorVersion},${parsedVersion.majorVersion}.${parsedVersion.nextMinorVersion})' && ./mvnw build-helper:parse-version versions:update-property -DgenerateBackupPoms=false -DallowSnapshots=true -Dproperty=spring-cloud-deployer.version -DnewVersion='[${parsedVersion.majorVersion}.${parsedVersion.minorVersion},${parsedVersion.majorVersion}.${parsedVersion.nextMinorVersion})') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/sh | ||
|
||
# ---------------------------------------------------------------------------- | ||
# Script maintaining versions | ||
# | ||
# Bump up next build development version. | ||
# ---------------------------------------------------------------------------- | ||
|
||
find_basedir() { | ||
local basedir=$(cd -P -- "$(dirname -- "$0")" && cd .. && cd .. && pwd -P) | ||
echo "${basedir}" | ||
} | ||
|
||
export PROJECTBASEDIR=$(find_basedir) | ||
|
||
(cd $PROJECTBASEDIR && ./mvnw build-helper:parse-version versions:set -DprocessAllModules=false -DgenerateBackupPoms=false -DnewVersion='${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.nextIncrementalVersion}.BUILD-SNAPSHOT') | ||
|