Skip to content

Commit 403a999

Browse files
committed
release v1.0.50
1 parent b041912 commit 403a999

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,11 @@ The general rule is to make these two tags remain the same with each other, and
122122
Here is a guide on how to make a new release:
123123
- update `VERSION` in [cmd/xgo/version.go](cmd/xgo/version.go).
124124
- 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.
125-
- run `go generate`.
126-
- 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.
125+
- run `go generate ./...`.
126+
- 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.
127127
- run `git add -A`.
128-
- 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.
129-
- run `git tag v1.0.49 && git tag runtime/v1.0.49`.
128+
- 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.
129+
- run `git tag v1.0.49`, if there is runtime update, run `git tag runtime/v1.0.49`.
130130
- run `git push --tags`.
131131
- go to github release page to draft a new release
132132
- run `go run ./script/build-release`, run this in a standalone worktree if necessary.

cmd/xgo/version.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import "fmt"
55
// REVISION and NUMBER are auto updated when run 'git commit'
66
// VERSION is manually updated when needed a new tag
77
// see also runtime/core/version.go
8-
const VERSION = "1.0.49"
9-
const REVISION = "847f7f1a887cb48c1bfd94612ac3c648080d63cb+1"
10-
const NUMBER = 313
8+
const VERSION = "1.0.50"
9+
const REVISION = "b041912e5d7457935e52026572c003b0f0808d59+1"
10+
const NUMBER = 314
1111

1212
// the matching runtime/core's version
1313
// manually updated

0 commit comments

Comments
 (0)