diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 885843fd..899af9e9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -122,11 +122,11 @@ The general rule is to make these two tags remain the same with each other, and Here is a guide on how to make a new release: - update `VERSION` in [cmd/xgo/version.go](cmd/xgo/version.go). - update `CORE_VERSION` to match `VERSION` if there is a change in this version that makes `cmd/xgo` depends on the newest runtime, otherwise, keep in untouched. -- run `go generate`. -- check whether `CORE_REVISION`,`CORE_NUMBER` matches `REVISION`,`NUMBER` if `CORE_VERSION` is updated to the same with `VERSION`, if not, run `go generate` again and check, and manually update if necessary. +- run `go generate ./...`. +- check whether `CORE_REVISION`,`CORE_NUMBER` matches `REVISION`,`NUMBER` if `CORE_VERSION` is updated to the same with `VERSION`, if not, run `go generate ./...` again and check, and manually update if necessary. - run `git add -A`. -- run `git commit -m "release v1.0.49"`, this will run git hooks that copies `CORE_VERSION`,`CORE_REVISION`,`CORE_NUMBER` to [runtime/core/version.go](runtime/core/version.go) so that if a runtime is running with an older xgo, it will print warnings. -- run `git tag v1.0.49 && git tag runtime/v1.0.49`. +- run `git commit -m "release v1.0.49"`, this will run git hooks that updates `REVISION` and `NUMBER`, and copies `CORE_VERSION`,`CORE_REVISION`,`CORE_NUMBER` to [runtime/core/version.go](runtime/core/version.go) so that if a runtime is running with an older xgo, it will print warnings. +- run `git tag v1.0.49`, if there is runtime update, run `git tag runtime/v1.0.49`. - run `git push --tags`. - go to github release page to draft a new release - run `go run ./script/build-release`, run this in a standalone worktree if necessary. diff --git a/cmd/xgo/version.go b/cmd/xgo/version.go index 27f14a5f..6c4d9668 100644 --- a/cmd/xgo/version.go +++ b/cmd/xgo/version.go @@ -5,9 +5,9 @@ import "fmt" // REVISION and NUMBER are auto updated when run 'git commit' // VERSION is manually updated when needed a new tag // see also runtime/core/version.go -const VERSION = "1.0.49" -const REVISION = "847f7f1a887cb48c1bfd94612ac3c648080d63cb+1" -const NUMBER = 313 +const VERSION = "1.0.50" +const REVISION = "b041912e5d7457935e52026572c003b0f0808d59+1" +const NUMBER = 314 // the matching runtime/core's version // manually updated