Skip to content

Commit

Permalink
bug: publishporter mage cmd git tag has {} (#2984)
Browse files Browse the repository at this point in the history
schristoff_removeregexmaybe

Signed-off-by: Sarah Christoff <28318173+schristoff@users.noreply.github.com>
  • Loading branch information
schristoff authored Feb 5, 2024
1 parent a54f660 commit 9b611b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ func PublishPorter() {
// Create or update GitHub release for the permalink (canary/latest) with the version's assets (porter binaries, exec binaries and install scripts)
if info.ShouldPublishPermalink() {
// Move the permalink tag. The existing release automatically points to the tag.
must.RunV("git", "tag", info.Permalink, info.Version+"^{}", "-f")
must.RunV("git", "tag", info.Permalink, info.Version+"-f")
must.RunV("git", "push", "-f", remote, info.Permalink)

releases.AddFilesToRelease(repo, info.Permalink, porterVersionDir)
Expand Down

0 comments on commit 9b611b8

Please sign in to comment.