Skip to content

Commit

Permalink
Merge pull request #76 from create-go-app/dev
Browse files Browse the repository at this point in the history
Fix v2 version
  • Loading branch information
koddr authored May 1, 2021
2 parents 687e9a5 + 6b5ee3a commit 798a461
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ First of all, [download](https://golang.org/dl/) and install **Go**. Version `1.
Installation is done by using the [`go install`](https://golang.org/cmd/go/#hdr-Compile_and_install_packages_and_dependencies) command and rename installed binary in `$GOPATH/bin`:

```bash
go install github.com/create-go-app/cli/cmd/cgapp@latest
go install github.com/create-go-app/cli/v2/cmd/cgapp
```

Also, macOS and GNU/Linux users available way to install via [Homebrew](https://brew.sh/):
Expand Down
2 changes: 1 addition & 1 deletion cmd/cgapp/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ limitations under the License.
*/
package main

import "github.com/create-go-app/cli/cmd"
import "github.com/create-go-app/cli/v2/cmd"

func main() {
cmd.Execute()
Expand Down
4 changes: 2 additions & 2 deletions cmd/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"time"

"github.com/AlecAivazis/survey/v2"
"github.com/create-go-app/cli/pkg/cgapp"
"github.com/create-go-app/cli/pkg/registry"
"github.com/create-go-app/cli/v2/pkg/cgapp"
"github.com/create-go-app/cli/v2/pkg/registry"
"github.com/spf13/cobra"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"fmt"
"time"

"github.com/create-go-app/cli/pkg/cgapp"
"github.com/create-go-app/cli/pkg/registry"
"github.com/create-go-app/cli/v2/pkg/cgapp"
"github.com/create-go-app/cli/v2/pkg/registry"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package cmd

import (
"github.com/AlecAivazis/survey/v2"
"github.com/create-go-app/cli/pkg/registry"
"github.com/create-go-app/cli/v2/pkg/registry"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/create-go-app/cli
module github.com/create-go-app/cli/v2

go 1.16

Expand Down
2 changes: 1 addition & 1 deletion pkg/cgapp/files_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"testing"

"github.com/create-go-app/cli/pkg/registry"
"github.com/create-go-app/cli/v2/pkg/registry"
)

func TestMakeFile(t *testing.T) {
Expand Down

0 comments on commit 798a461

Please sign in to comment.