Skip to content

Commit

Permalink
only strip tag with default value for translators not supporting tags
Browse files Browse the repository at this point in the history
  • Loading branch information
kwin committed Jan 2, 2022
1 parent ff95374 commit 03b9776
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ protected void transformScm( MavenProject project, Model modelTarget, ReleaseDes
if ( tag == null )
{
tag = scm.getTag();
}
// never give out default value as there is no way to distinguish it from an the
// explicitly set tag with the same value
if ( "HEAD".equals( tag ) )
{
tag = null;
// never give out default value as there is no way to distinguish it from an the
// explicitly set tag with the same value
if ( "HEAD".equals( tag ) )
{
tag = null;
}
}
scmRoot.setTag( tag );
}
Expand Down

0 comments on commit 03b9776

Please sign in to comment.