Skip to content

Commit 1c86ebc

Browse files
authored
Merge branch 'develop' into UnifiedBuildInfra
2 parents 10fef5c + de31457 commit 1c86ebc

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

OneFlow/Publish-Release.ps1

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,13 @@ if($PSCmdlet.ShouldProcess($officialReleaseBranch, "git switch -C $releaseBranch
4848
Invoke-External git switch '-C' $releaseBranch $officialReleaseBranch
4949
}
5050

51-
if($PSCmdlet.ShouldProcess($tagName, "create annotated tag"))
51+
if($PSCmdlet.ShouldProcess($tagName, "create signed tag"))
5252
{
53-
Write-Information 'Creating an annotated tag of this branch as the release'
54-
Invoke-External git tag $tagName '-m' "Official release: $tagName"
53+
Write-Information 'Creating a signed tag of this branch as the release'
54+
Invoke-External git tag -s $tagName '-m' "Official release: $tagName"
55+
56+
Write-Information 'Verifying signature on tag'
57+
Invoke-External git tag -v $tagName
5558
}
5659

5760
if($PSCmdlet.ShouldProcess($tagName, "git push $officialRemoteName tag"))

0 commit comments

Comments
 (0)