-
Notifications
You must be signed in to change notification settings - Fork 3
docs(libevm/tooling/release): add readme #170
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
Changes from 2 commits
a080b83
92023af
c4b262f
c42928b
b0ca643
2a0aa1d
3b326a3
8f400ec
ab8fbb1
8285be7
de4b8b2
f28b610
2b57993
06b95ab
6cbf989
b68391c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Release | ||
|
||
In the following, we create a release candidate tag `v1.13.14-0.2.0.rc.4`. | ||
qdm12 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
1. Create two branches, usually from the `main` branch: | ||
qdm12 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
```bash | ||
git fetch origin main:main | ||
git checkout main | ||
git checkout -b release/v1.13.14-0.2.0.rc.4 | ||
qdm12 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
git push -u origin release/v1.13.14-0.2.0.rc.4 | ||
git checkout -b myusername/release/v1.13.14-0.2.0.rc.4 | ||
git push -u origin myusername/release/v1.13.14-0.2.0.rc.4 | ||
qdm12 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
``` | ||
|
||
The `myusername/release/v1.13.14-0.2.0.rc.4` branch will be used to add "release modifications" and will target the branch `release/v1.13.14-0.2.0.rc.4` in a pull request. | ||
1. Run script `./cherrypick.sh` which cherry picks all Geth commits listed in [cherrypicks](cherrypicks) | ||
- you may have to resolve conflicts | ||
qdm12 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
1. Modify [params/version.libevm.go](/params/version.libevm.go) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's useful to have this as the first step but NOT have anything committed. That way the version string is automatically generated for naming the release branch. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Through a test right? |
||
- Change the `LibEVMVersion` to the correct final version name | ||
qdm12 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- Change the `LibEVMReleaseType` to the correct release type, for example `ReleaseCandidate` | ||
- If planning a release candidate: set `libEVMReleaseCandidate` to the correct number; in this case `4` | ||
- If needed: change the `LibEVMVersionMajor`, `LibEVMVersionMinor` and `LibEVMVersionPatch` numbers | ||
1. Commit your modifications to [params/version.libevm.go](/params/version.libevm.go) with a commit title `chore: release v1.13.14-0.2.0.rc.4`. | ||
1. Push your modified branch to the remote `git push` | ||
qdm12 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
1. Open a pull request from your modified branch `myusername/release/v1.13.14-0.2.0.rc.4` and targeting `release/v1.13.14-0.2.0.rc.4`, for example with `https://github.com/ava-labs/libevm/compare/release/v1.13.14-0.2.0.rc.4...myusername/release/v1.13.14-0.2.0.rc.4?expand=1`. Set the tile to "chore: release `v1.13.14-0.2.0.rc.4`" | ||
qdm12 marked this conversation as resolved.
Show resolved
Hide resolved
|
Uh oh!
There was an error while loading. Please reload this page.