Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
jlandowner committed Oct 14, 2020
1 parent caabfa0 commit b94ff59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NAME = psp-util
VERSION = v1.0.1
VERSION = v1.1.0
build:
go build -o bin/${NAME} main.go

Expand All @@ -11,7 +11,6 @@ multi-build:

update-version:
sed -i.bak -e "s/v[0-9].[0-9].[0-9][-alpha]*[-beta]*/${VERSION}/g" ./cmd/version.go
sed -i.bak -e "s/v[0-9].[0-9].[0-9][-alpha]*[-beta]*/${VERSION}/g" ./psp-util.yaml

krew-template:
docker run -v `pwd`/.krew.yaml:/tmp/template-file.yaml rajatjindal/krew-release-bot:v0.0.38 \
Expand Down
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ var versionCmd = &cobra.Command{
Use: "version",
Short: "Print the version number",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("Kubernetes Pod Security Policy Utilities v1.0.1 jlandowner 2020")
fmt.Println("Kubernetes Pod Security Policy Utilities v1.1.0 jlandowner 2020")
},
}

0 comments on commit b94ff59

Please sign in to comment.