Skip to content

Update references to latest patch version of Go 1.18 in preparation for next beta release #1198

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/measure-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion compiler/version_check.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down