From 9b611b8b283f125cd0b01193afa593f4be92276e Mon Sep 17 00:00:00 2001 From: schristoff <28318173+schristoff@users.noreply.github.com> Date: Mon, 5 Feb 2024 15:38:03 -0700 Subject: [PATCH] bug: publishporter mage cmd git tag has {} (#2984) schristoff_removeregexmaybe Signed-off-by: Sarah Christoff <28318173+schristoff@users.noreply.github.com> --- magefile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magefile.go b/magefile.go index eebe70c24..cd921d9df 100644 --- a/magefile.go +++ b/magefile.go @@ -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)