Use annotated tags for release

Mainly because it's handled better in git-related tools such as tig.

See also https://git-scm.com/book/en/v2/Git-Basics-Tagging#_creating_tags
This commit is contained in:
Yoann Rodière 2022-04-13 17:08:38 +02:00
parent 2de227d84c
commit 92fc03f803
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ task gitTasksAfterRelease {
if ( project.createTag ) {
logger.lifecycle("Tagging release : `${project.releaseTag}`...")
executeGitCommand( 'tag', project.releaseTag )
executeGitCommand( 'tag', '-a', project.releaseTag, '-m', "Release $project.ormVersion.fullName" )
}
}
}