Skip to content

Commit

Permalink
Use annotated tags for release
Browse files Browse the repository at this point in the history
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
  • Loading branch information
yrodiere committed Apr 13, 2022
1 parent 527103d commit 9690769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release/release.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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}'..." )
Expand Down

0 comments on commit 9690769

Please sign in to comment.