versioning
versioning copied to clipboard
Gradle plug-in to generate version information from the SCM branch (Git or Svn)
`versionFile` task uses `Task.project` which apparently as of Gradle 7.4.1 is [not allowed](https://docs.gradle.org/7.4.1/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution) ``` Task `:xmlTypes4:versionFile` of type `net.nemerosa.versioning.tasks.VersionFileTask`: invocation of 'Task.project' at execution time is unsupported. See https://docs.gradle.org/7.4.1/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution ```
I am trying to use this one in Kotlin: ```groovy versioning { releaseMode = { nextTag, lastTag, currentTag, extension -> "${nextTag}" } } ``` But I am not sure how...
Current [apply](https://github.com/nemerosa/versioning#applying-the-plug-in) section in the README does not match https://plugins.gradle.org/plugin/net.nemerosa.versioning.
I discovered that my svn working copies always get marked as dirty although they have been clean. The issue is that the logic of the dirty calculation is broken and...
Would you please publish releases to maven central + jcenter? Thank you.
The Gradle tasks provided by this plugin must have all their outputs & inputs annotated in order to be compatible with Gradle 7.
By using jgit from eclipse this plugin will fail when used within a git worktree. https://bugs.eclipse.org/bugs/show_bug.cgi?id=477475 possible fix: https://git.eclipse.org/r/#/c/54404/ https://dev.eclipse.org/mhonarc/lists/jgit-dev/msg02987.html
Hello, I m running nemerosa plugin (v 2.6.0) with gitlab runner and have faced the problem with VERSION_DISPLAY. Configuration: versioning { branchEnv = ['CI_COMMIT_REF_NAME'] releaseMode = 'snapshot' } version =...