-
-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 3 new profiles: - local profile is activated by default and it will add -SNAPSHOT at the end of version. - develop profile is activated when exist BUILD_NUMBER environment variable and it will add -SNAPSHOT #BUILD+_NUMBER at the end of version - master profile is activated when exists GIT_BRANCH environment variable with value origin/master and it will not add anything to version. Also, move most of dependencies versions to properties section. With these changes, it will be easier to process next release. Only change `build.version` in properties section. If you run maven package or install from IDE or console, it will add -SNAPSHOT at the end (unless you have local Jenkins server). [`bentobox-1.4.0-SNAPSHOT.jar`] In Jenkins server builds from develop branch will look like `bentobox-1.4.0-SNAPSHOT #21.jar`. In Jenkins server builds from master branch will look like `bentobox-1.4.0.jar`.
- Loading branch information
1 parent
d4d1b77
commit e3fbeb1
Showing
1 changed file
with
87 additions
and
33 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