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 527103d8b9
commit 96907698e1
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ task ciRelease( dependsOn: [releaseChecks, addVersionCommit, release] ) {
tag = tag.replace( ".Final", "" )
}
logger.lifecycle( "Tagging '${tag}'..." )
executeGitCommand( 'tag', tag )
executeGitCommand( 'tag', '-a', tag, '-m', "Release $project.ormVersion.fullName" )
}
logger.lifecycle( "Adding commit to update version to '${project.developmentVersion}'..." )