From 6f2367cd6157dab7dc38632b9760c41e5165a078 Mon Sep 17 00:00:00 2001 From: Jonathan Hall Date: Sat, 10 Jun 2023 23:50:09 +0200 Subject: [PATCH] Update references to latest patch version of Go 1.18 in preparation for next beta release --- .github/workflows/measure-size.yml | 2 +- README.md | 8 ++++---- circle.yml | 2 +- compiler/version_check.go | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/measure-size.yml b/.github/workflows/measure-size.yml index 7118f3fa1..d193b0df6 100644 --- a/.github/workflows/measure-size.yml +++ b/.github/workflows/measure-size.yml @@ -11,7 +11,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-go@v2 with: - go-version: '~1.18.5' + go-version: '~1.18.10' - uses: gopherjs/output-size-action/measure@main with: name: jQuery TodoMVC diff --git a/README.md b/README.md index 9302a092d..63c5aabee 100644 --- a/README.md +++ b/README.md @@ -37,15 +37,15 @@ version, you can use an [older GopherJS release](https://github.com/gopherjs/gop Install GopherJS with `go install`: ``` -go install github.com/gopherjs/gopherjs@v1.18.0-beta2 # Or replace 'v1.18.0-beta2' with another version. +go install github.com/gopherjs/gopherjs@v1.18.0-beta3 # Or replace 'v1.18.0-beta3' with another version. ``` If your local Go distribution as reported by `go version` is newer than Go 1.18, then you need to set the `GOPHERJS_GOROOT` environment variable to a directory that contains a Go 1.18 distribution. For example: ``` -go install golang.org/dl/go1.18.6@latest -go1.18.6 download -export GOPHERJS_GOROOT="$(go1.18.6 env GOROOT)" # Also add this line to your .profile or equivalent. +go install golang.org/dl/go1.18.10@latest +go1.18.10 download +export GOPHERJS_GOROOT="$(go1.18.10 env GOROOT)" # Also add this line to your .profile or equivalent. ``` Now you can use `gopherjs build [package]`, `gopherjs build [files]` or `gopherjs install [package]` which behave similar to the `go` tool. For `main` packages, these commands create a `.js` file and `.js.map` source map in the current directory or in `$GOPATH/bin`. The generated JavaScript file can be used as usual in a website. Use `gopherjs help [command]` to get a list of possible command line flags, e.g. for minification and automatically watching for changes. diff --git a/circle.yml b/circle.yml index 102c79945..068f9d5e2 100644 --- a/circle.yml +++ b/circle.yml @@ -54,7 +54,7 @@ workflows: parameters: go_version: type: string - default: "1.18.5" + default: "1.18.10" nvm_version: type: string default: "0.38.0" diff --git a/compiler/version_check.go b/compiler/version_check.go index 671e76f0d..10f10e537 100644 --- a/compiler/version_check.go +++ b/compiler/version_check.go @@ -13,7 +13,7 @@ import ( ) // Version is the GopherJS compiler version string. -const Version = "1.18.0-beta2+go1.18.5" +const Version = "1.18.0-beta3+go1.18.10" // GoVersion is the current Go 1.x version that GopherJS is compatible with. const GoVersion = 18