Skip to content

Commit

Permalink
mageutils:bugfix - fixing error in alpha tag name (#140)
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Martins <[email protected]>
  • Loading branch information
nathanmartinszup authored Dec 8, 2021
1 parent b158ef6 commit b136d99
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/utils/mageutils/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@ import (
"github.com/magefile/mage/sh"
)

// CreateAlphaTag executes "git", "tag", "-f", "-s", "v0.0.0-alpha", "-m", "v0.0.0-alpha"
// CreateAlphaTag executes "git", "tag", "-f", "-s", "alpha", "-m", "alpha"
func CreateAlphaTag() error {
mg.Deps(isGitExistent)

return sh.RunV("git", "tag", "-f", "-s", "v0.0.0-alpha", "-m", "v0.0.0-alpha")
return sh.RunV("git", "tag", "-f", "-s", "alpha", "-m", "alpha")
}

// GitPushAlpha executes "git", "push", "origin", "-f", "v0.0.0-alpha"
// GitPushAlpha executes "git", "push", "origin", "-f", "alpha"
func GitPushAlpha() error {
mg.Deps(isGitExistent)

return sh.RunV("git", "push", "origin", "-f", "v0.0.0-alpha")
return sh.RunV("git", "push", "origin", "-f", "alpha")
}

// CreateLocalTag executes "git", "tag", "-s", tag, "-m", "release "+tag
Expand Down

0 comments on commit b136d99

Please sign in to comment.