Skip to content
This repository has been archived by the owner on Aug 12, 2020. It is now read-only.

Commit

Permalink
call getreleaseinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
rajatjindal committed Oct 1, 2019
1 parent 3d01a4c commit 8af20dc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"os"

"github.com/rajatjindal/krew-plugin-release-go/pkg/actions"
"github.com/sirupsen/logrus"
"github.com/spf13/cobra"
)

Expand All @@ -14,7 +15,10 @@ var rootCmd = &cobra.Command{
Short: "tool to make PR to krew-plugin-release",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("from inside golang")
fmt.Println(actions.GetPayload())
err := actions.GetReleaseInfo()
if err != nil {
logrus.Fatal(err)
}
},
}

Expand Down

0 comments on commit 8af20dc

Please sign in to comment.