From afcd8ea200b9cb6e232bc31dbd4f0ecfa82b355f Mon Sep 17 00:00:00 2001 From: Sarah Christoff <28318173+schristoff@users.noreply.github.com> Date: Mon, 5 Feb 2024 15:30:05 -0700 Subject: [PATCH] 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)