This repository was archived by the owner on Aug 2, 2022. It is now read-only.
Releases: Invvk/auto-increment-plugin
Releases · Invvk/auto-increment-plugin
v1.1.1
v1.1.0 RECODE
Complete record to the plugin.
This version completely get rid of split mod and instead do it by default.
Added
Changes in configuration:
- This plugin now uses JGit
commitLength: This replaceshashModeand let you customize the length of the commit hash. Default is7disableGit: This option disables all git operations (getting the commit hash and in this version, getting commit time and branch)- Added
aip.git.timeto get the time of the commit (returns a number indicating the time e.g.1628807090) - Added
aip.git.branchto the commit's branch name
Quality of life change
- Removed
splitModeand by default it should make an independent property for major,minor,patch, commit, time, and branch. - Changed
gitDirectoryand made it not required for git operations, now you can include commit hash without the need ofgitDirectoryto exists in configuration. you can still modify it though. Default isPROJECT_DIRECTORY/.git
Changes
- removed
hashModeand replaced it withcommitLength - removed
log - removed
splitMode - renamed
includeHashtocommit - renamed
includePatchtopatch - renamed
skipUpdatingtopump. This also invert the functionality, it should befalsein order for it to not update the version - renamed option
-Daip.skipto-Daip.pumpand it should be set to false if you don't want to update the version. - renamed
storageNametofileName - renamed
aip.version.committoaip.git.commit
v1.0.1
New Options
- Log option: enables or disables logging
- Split mode: enables adding independent properties, current available:
aip.version.major,aip.version.minor,aip.version.patch,aip.version.commit - added new maven command line properties:
aip.log[BOOLEAN],aip.split[BOOLEAN]
Changes
- renamed BuildNum to patch (IF YOU ARE USING
buildNumLimitoption in your configuration please change it to `patchLimit') - renamed properties from
version.{property}toaip.{property} - default
hashModehas been changed toSHORT