shipkit / shipkit-auto-version

Gradle plugin that helps automating releases by automatically deducing the next Semver version
Apache License 2.0
42 stars 10 forks source link

Seamless previous version behavior #49

Closed mockitoguy closed 4 years ago

mockitoguy commented 4 years ago

Previous version now behaves seamlessly and cleanly enables using 'shipkit-changelog' and 'shipkit-auto-version' plugins together. This change prevents build failures where auto-version plugin deducts next patch version, and provides 'null' previous version. This used to break the 'shipkit-changelog' plugin that requires previous version to generate the changelog.

Major overhaul of the code. Tested by:

Fixes #42