add GitExtension

This commit is contained in:
2024-10-24 11:04:26 +01:00
parent 989027955c
commit 7f4b602385
5 changed files with 214 additions and 1 deletions

View File

@@ -4,6 +4,10 @@ One Gradle plugin to rule them all, a simple thing to bind the tasks and in auto
## Extension
### Extension Git
The GitExtension enhances versioning by dynamically appending the Git hash before "snapshot" in the version string. For example, `0.0.0-SNAPSHOT` becomes `0.0.0.0a2b3c4d-SNAPSHOT`, ensuring each build reflects its commit origin, prevents overwriting existing versions. This feature aids developers during development by providing clear version identification.
## Releasing plugin
Run `release.sh` script from `master` branch.