-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(devops): Working on release workflow (#21)
* deal with maven publisher changes due to gradle upgrade Co-authored-by: Pete Buletza <pete.buletza@elyxor.com>
- Loading branch information
1 parent
1c7f388
commit 2d852ee
Showing
5 changed files
with
74 additions
and
139 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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
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
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 |
---|---|---|
@@ -1,13 +1,16 @@ | ||
ext { | ||
major = project.property('artifactMajorVersion') | ||
minor = project.property('artifactMinorVersion') | ||
patch = project.property('artifactPatchVersion') | ||
major = project.property('artifactMajorVersion') | ||
minor = project.property('artifactMinorVersion') | ||
patch = project.property('artifactPatchVersion') | ||
|
||
getReleaseVersion = { | ||
return major + '.' + minor + '.' + patch | ||
} | ||
getReleaseVersion = { | ||
return major + '.' + minor + '.' + patch | ||
} | ||
|
||
getDevVersion = { branchName -> | ||
return major + '.' + minor + '.' + patch + '-SNAPSHOT' | ||
} | ||
getDevVersion = { branchName -> | ||
if (branchName) { | ||
return major + '.' + minor + '.' + patch + "-" + branchName | ||
} | ||
return major + '.' + minor + '.' + patch + '-SNAPSHOT' | ||
} | ||
} |