Skip to content

Commit

Permalink
[website] v2.0.0-beta.7
Browse files Browse the repository at this point in the history
  • Loading branch information
leaanthony committed Oct 8, 2021
1 parent 0acfdd1 commit 1368c20
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion v2/cmd/wails/internal/version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package internal

var Version = "v2.0.0-beta.6"
var Version = "v2.0.0-beta.7"
12 changes: 6 additions & 6 deletions v2/internal/gomod/gomod_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const basic string = `module changeme
go 1.17
require github.com/wailsapp/wails/v2 v2.0.0-beta.6
require github.com/wailsapp/wails/v2 v2.0.0-beta.7
require (
github.com/andybalholm/brotli v1.0.2 // indirect
Expand Down Expand Up @@ -44,7 +44,7 @@ require (
golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6 // indirect
)
//replace github.com/wailsapp/wails/v2 v2.0.0-beta.6 => C:\Users\leaan\Documents\wails-v2-beta\wails\v2
//replace github.com/wailsapp/wails/v2 v2.0.0-beta.7 => C:\Users\leaan\Documents\wails-v2-beta\wails\v2
`

func TestGetWailsVersion(t *testing.T) {
Expand All @@ -54,7 +54,7 @@ func TestGetWailsVersion(t *testing.T) {
want *semver.Version
wantErr bool
}{
{"basic", []byte(basic), semver.MustParse("v2.0.0-beta.6"), false},
{"basic", []byte(basic), semver.MustParse("v2.0.0-beta.7"), false},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
Expand All @@ -74,7 +74,7 @@ const basicUpdated string = `module changeme
go 1.17
require github.com/wailsapp/wails/v2 v2.0.0-beta.6
require github.com/wailsapp/wails/v2 v2.0.0-beta.7
require (
github.com/andybalholm/brotli v1.0.2 // indirect
Expand Down Expand Up @@ -108,7 +108,7 @@ require (
golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6 // indirect
)
//replace github.com/wailsapp/wails/v2 v2.0.0-beta.6 => C:\Users\leaan\Documents\wails-v2-beta\wails\v2
//replace github.com/wailsapp/wails/v2 v2.0.0-beta.7 => C:\Users\leaan\Documents\wails-v2-beta\wails\v2
`

func TestUpdateGoModVersion(t *testing.T) {
Expand All @@ -122,7 +122,7 @@ func TestUpdateGoModVersion(t *testing.T) {
want []byte
wantErr bool
}{
{"basic", args{[]byte(basic), "v2.0.0-beta.6"}, []byte(basicUpdated), false},
{"basic", args{[]byte(basic), "v2.0.0-beta.7"}, []byte(basicUpdated), false},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion website/docs/gettingstarted/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ import TabItem from "@theme/TabItem";

## Installing Wails

Run `go install github.com/wailsapp/wails/v2/cmd/[email protected].6` to install the Wails CLI.
Run `go install github.com/wailsapp/wails/v2/cmd/[email protected].7` to install the Wails CLI.

## System Check

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ import TabItem from "@theme/TabItem";

## 安装 Wails

运行 `go install github.com/wailsapp/wails/v2/cmd/[email protected].6` 安装 Wails CLI。
运行 `go install github.com/wailsapp/wails/v2/cmd/[email protected].7` 安装 Wails CLI。

## 系统检查

Expand Down

0 comments on commit 1368c20

Please sign in to comment.