Skip to content

Commit

Permalink
Add TestPublish mage target
Browse files Browse the repository at this point in the history
Add the TestPublish mage target that is common to all the mixins. It helps you vet a build script / release script change locally.

Signed-off-by: Carolyn Van Slyck <[email protected]>
  • Loading branch information
carolynvs committed Apr 14, 2023
1 parent b6d959d commit 3a8b0ff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ func Publish() {
magefile.Publish()
}

// TestPublish tries out publish locally, with your github forks
// Assumes that you forked and kept the repository name unchanged.
func TestPublish(username string) {
magefile.TestPublish(username)
}

// Install the mixin
func Install() {
magefile.Install()
Expand Down

0 comments on commit 3a8b0ff

Please sign in to comment.