Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Releases: Invvk/auto-increment-plugin

v1.1.1

16 Aug 17:25
c75073e

Choose a tag to compare

removed

  • aip.git.commit

added

  • aip.git.commit.full
  • aip.git.commit.cut

Please checkout wiki for more information about the properties.

v1.1.0 RECODE

13 Aug 19:09
c253972

Choose a tag to compare

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 replaces hashMode and let you customize the length of the commit hash. Default is 7
  • disableGit: This option disables all git operations (getting the commit hash and in this version, getting commit time and branch)
  • Added aip.git.time to get the time of the commit (returns a number indicating the time e.g. 1628807090)
  • Added aip.git.branch to the commit's branch name

Quality of life change

  • Removed splitMode and by default it should make an independent property for major,minor,patch, commit, time, and branch.
  • Changed gitDirectory and made it not required for git operations, now you can include commit hash without the need of gitDirectory to exists in configuration. you can still modify it though. Default is PROJECT_DIRECTORY/.git

Changes

  • removed hashMode and replaced it with commitLength
  • removed log
  • removed splitMode
  • renamed includeHash to commit
  • renamed includePatch to patch
  • renamed skipUpdating to pump. This also invert the functionality, it should be false in order for it to not update the version
  • renamed option -Daip.skip to -Daip.pump and it should be set to false if you don't want to update the version.
  • renamed storageName to fileName
  • renamed aip.version.commit to aip.git.commit

v1.0.1

12 Aug 22:12
76e341a

Choose a tag to compare

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 buildNumLimit option in your configuration please change it to `patchLimit')
  • renamed properties from version.{property} to aip.{property}
  • default hashMode has been changed to SHORT