Skip to content

Commit

Permalink
Resolving ko-build#21 issue. Fixing conflicts after commands refactor…
Browse files Browse the repository at this point in the history
…ing. Improving version command
  • Loading branch information
cezkuj committed May 12, 2019
2 parents e8b7ded + cef9764 commit 0aca6f6
Show file tree
Hide file tree
Showing 25 changed files with 756 additions and 394 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Ignore GoLand (IntelliJ) files.
.idea/

306 changes: 0 additions & 306 deletions cmd/ko/commands.go

This file was deleted.

3 changes: 2 additions & 1 deletion cmd/ko/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
package main

import (
"github.com/google/ko/pkg/commands"
"log"

"github.com/spf13/cobra"
Expand All @@ -29,7 +30,7 @@ func main() {
cmd.Help()
},
}
addKubeCommands(cmds)
commands.AddKubeCommands(cmds)

if err := cmds.Execute(); err != nil {
log.Fatalf("error during command execution: %v", err)
Expand Down
2 changes: 1 addition & 1 deletion hack/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ VERSION=$1
KO_ROOT="$(cd "$(dirname "$0")" && pwd)/.."

go get github.com/ahmetb/govvv
govvv build -o $KO_ROOT/build/ko $KO_ROOT/cmd/ko -version $VERSION
govvv build -o $KO_ROOT/build/ko $KO_ROOT/cmd/ko -pkg github.com/google/ko/pkg/commands -version $VERSION
git tag $VERSION
git push origin $VERSION
Loading

0 comments on commit 0aca6f6

Please sign in to comment.