diff --git a/command/pr.go b/command/pr.go index 169fffd01..e21d66e74 100644 --- a/command/pr.go +++ b/command/pr.go @@ -3,8 +3,8 @@ package command import ( "fmt" - "github.com/github/gh/git" - "github.com/github/gh/github" + "github.com/github/gh-cli/git" + "github.com/github/gh-cli/github" "github.com/spf13/cobra" ) diff --git a/github/client.go b/github/client.go index 134368b45..181654115 100644 --- a/github/client.go +++ b/github/client.go @@ -14,7 +14,7 @@ import ( "strings" "time" - "github.com/github/gh/version" + "github.com/github/gh-cli/version" ) const ( diff --git a/github/config.go b/github/config.go index 1a27eef6b..9a5221e50 100644 --- a/github/config.go +++ b/github/config.go @@ -12,8 +12,8 @@ import ( "strings" "syscall" - "github.com/github/gh/ui" - "github.com/github/gh/utils" + "github.com/github/gh-cli/ui" + "github.com/github/gh-cli/utils" "github.com/mitchellh/go-homedir" "golang.org/x/crypto/ssh/terminal" ) diff --git a/github/hosts.go b/github/hosts.go index 95c9f9c6d..5cf889c53 100644 --- a/github/hosts.go +++ b/github/hosts.go @@ -6,7 +6,7 @@ import ( "os" "strings" - "github.com/github/gh/git" + "github.com/github/gh-cli/git" ) var ( diff --git a/github/http.go b/github/http.go index 73b165db4..889253504 100644 --- a/github/http.go +++ b/github/http.go @@ -20,8 +20,8 @@ import ( "strings" "time" - "github.com/github/gh/ui" - "github.com/github/gh/utils" + "github.com/github/gh-cli/ui" + "github.com/github/gh-cli/utils" ) const apiPayloadVersion = "application/vnd.github.v3+json;charset=utf-8" diff --git a/github/project.go b/github/project.go index dae4fe8de..e2773950f 100644 --- a/github/project.go +++ b/github/project.go @@ -7,8 +7,8 @@ import ( "path/filepath" "strings" - "github.com/github/gh/git" - "github.com/github/gh/utils" + "github.com/github/gh-cli/git" + "github.com/github/gh-cli/utils" ) type Project struct { diff --git a/github/remote.go b/github/remote.go index 0b1efedb2..523b54d7f 100644 --- a/github/remote.go +++ b/github/remote.go @@ -6,7 +6,7 @@ import ( "regexp" "strings" - "github.com/github/gh/git" + "github.com/github/gh-cli/git" ) var ( diff --git a/go.mod b/go.mod index e62101c7a..3d09a3769 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/github/gh +module github.com/github/gh-cli go 1.13 diff --git a/main.go b/main.go index e64374a52..f954ae933 100644 --- a/main.go +++ b/main.go @@ -4,7 +4,7 @@ import ( "fmt" "os" - "github.com/github/gh/command" + "github.com/github/gh-cli/command" ) func main() { diff --git a/utils/utils.go b/utils/utils.go index dc77e7276..4350324ab 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -10,7 +10,7 @@ import ( "strings" "time" - "github.com/github/gh/ui" + "github.com/github/gh-cli/ui" "github.com/kballard/go-shellquote" ) diff --git a/version/version.go b/version/version.go index 87488561f..7314c51e6 100644 --- a/version/version.go +++ b/version/version.go @@ -2,16 +2,10 @@ package version import ( "fmt" - - "github.com/github/gh/git" ) -var Version = "2.12.7" +var Version = "0.0.0" func FullVersion() (string, error) { - gitVersion, err := git.Version() - if err != nil { - gitVersion = "git version (unavailable)" - } - return fmt.Sprintf("%s\nhub version %s", gitVersion, Version), err + return fmt.Sprintf("gh version %s", Version), nil }