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:
parent
2de227d84c
commit
92fc03f803
|
@ -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" )
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue