Skip to content

Commit

Permalink
[v2] v2.0.0-beta.17
Browse files Browse the repository at this point in the history
  • Loading branch information
leaanthony committed Nov 8, 2021
1 parent 44597f2 commit b03a758
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 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.16"
var Version = "v2.0.0-beta.17"
32 changes: 16 additions & 16 deletions v2/internal/gomod/gomod_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const basicUpdated string = `module changeme
go 1.17
require github.com/wailsapp/wails/v2 v2.0.0-beta.16
require github.com/wailsapp/wails/v2 v2.0.0-beta.17
require (
github.com/andybalholm/brotli v1.0.2 // indirect
Expand Down Expand Up @@ -331,7 +331,7 @@ const multilineRequireUpdated = `module changeme
go 1.17
require (
github.com/wailsapp/wails/v2 v2.0.0-beta.16
github.com/wailsapp/wails/v2 v2.0.0-beta.17
)
require (
Expand Down Expand Up @@ -382,12 +382,12 @@ func TestUpdateGoModVersion(t *testing.T) {
want []byte
wantErr bool
}{
{"basic", args{[]byte(basic), "v2.0.0-beta.16"}, []byte(basicUpdated), false},
{"basicmultiline", args{[]byte(multilineRequire), "v2.0.0-beta.16"}, []byte(multilineRequireUpdated), false},
{"basicmultilinereplace", args{[]byte(multilineReplace), "v2.0.0-beta.16"}, []byte(multilineReplaceUpdated), false},
{"basicmultilinereplaceblock", args{[]byte(multilineReplaceBlock), "v2.0.0-beta.16"}, []byte(multilineReplaceBlockUpdated), false},
{"basicmultilinereplacenoversion", args{[]byte(multilineReplaceNoVersion), "v2.0.0-beta.16"}, []byte(multilineReplaceNoVersionUpdated), false},
{"basicmultilinereplacenoversionblock", args{[]byte(multilineReplaceNoVersionBlock), "v2.0.0-beta.16"}, []byte(multilineReplaceNoVersionBlockUpdated), false},
{"basic", args{[]byte(basic), "v2.0.0-beta.17"}, []byte(basicUpdated), false},
{"basicmultiline", args{[]byte(multilineRequire), "v2.0.0-beta.17"}, []byte(multilineRequireUpdated), false},
{"basicmultilinereplace", args{[]byte(multilineReplace), "v2.0.0-beta.17"}, []byte(multilineReplaceUpdated), false},
{"basicmultilinereplaceblock", args{[]byte(multilineReplaceBlock), "v2.0.0-beta.17"}, []byte(multilineReplaceBlockUpdated), false},
{"basicmultilinereplacenoversion", args{[]byte(multilineReplaceNoVersion), "v2.0.0-beta.17"}, []byte(multilineReplaceNoVersionUpdated), false},
{"basicmultilinereplacenoversionblock", args{[]byte(multilineReplaceNoVersionBlock), "v2.0.0-beta.17"}, []byte(multilineReplaceNoVersionBlockUpdated), false},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
Expand All @@ -414,8 +414,8 @@ func TestGoModOutOfSync(t *testing.T) {
want bool
wantErr bool
}{
{"basic", args{[]byte(basic), "v2.0.0-beta.16"}, true, false},
{"basicmultiline", args{[]byte(multilineRequire), "v2.0.0-beta.16"}, true, false},
{"basic", args{[]byte(basic), "v2.0.0-beta.17"}, true, false},
{"basicmultiline", args{[]byte(multilineRequire), "v2.0.0-beta.17"}, true, false},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
Expand All @@ -434,7 +434,7 @@ const multilineReplaceUpdated = `module changeme
go 1.17
require (
github.com/wailsapp/wails/v2 v2.0.0-beta.16
github.com/wailsapp/wails/v2 v2.0.0-beta.17
)
require (
Expand Down Expand Up @@ -469,14 +469,14 @@ require (
golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6 // indirect
)
replace github.com/wailsapp/wails/v2 v2.0.0-beta.16 => C:\Users\leaan\Documents\wails-v2-beta\wails\v2
replace github.com/wailsapp/wails/v2 v2.0.0-beta.17 => C:\Users\leaan\Documents\wails-v2-beta\wails\v2
`
const multilineReplaceNoVersionUpdated = `module changeme
go 1.17
require (
github.com/wailsapp/wails/v2 v2.0.0-beta.16
github.com/wailsapp/wails/v2 v2.0.0-beta.17
)
require (
Expand Down Expand Up @@ -518,7 +518,7 @@ const multilineReplaceNoVersionBlockUpdated = `module changeme
go 1.17
require (
github.com/wailsapp/wails/v2 v2.0.0-beta.16
github.com/wailsapp/wails/v2 v2.0.0-beta.17
)
require (
Expand Down Expand Up @@ -563,7 +563,7 @@ const multilineReplaceBlockUpdated = `module changeme
go 1.17
require (
github.com/wailsapp/wails/v2 v2.0.0-beta.16
github.com/wailsapp/wails/v2 v2.0.0-beta.17
)
require (
Expand Down Expand Up @@ -599,6 +599,6 @@ require (
)
replace (
github.com/wailsapp/wails/v2 v2.0.0-beta.16 => C:\Users\leaan\Documents\wails-v2-beta\wails\v2
github.com/wailsapp/wails/v2 v2.0.0-beta.17 => C:\Users\leaan\Documents\wails-v2-beta\wails\v2
)
`
2 changes: 1 addition & 1 deletion website/docs/gettingstarted/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ import TabItem from "@theme/TabItem";

## Installing Wails

Run `go install github.com/wailsapp/wails/v2/cmd/[email protected].16` to install the Wails CLI.
Run `go install github.com/wailsapp/wails/v2/cmd/[email protected].17` 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].16` 安装 Wails CLI。
运行 `go install github.com/wailsapp/wails/v2/cmd/[email protected].17` 安装 Wails CLI。

## 系统检查

Expand Down

0 comments on commit b03a758

Please sign in to comment.