-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Update release checklist: homebrew and solc-js instructions #15494
Changes from all commits
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 | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -76,7 +76,20 @@ At least a day before the release: | |||||||||||||||||||||||
- [ ] Create a pull request in solc-bin and merge. | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
### Homebrew and MacOS | ||||||||||||||||||||||||
- [ ] Update the version and the hash (``sha256sum solidity_$VERSION.tar.gz``) in the [``solidity`` formula in Homebrew core repository](https://github.com/Homebrew/homebrew-core/blob/master/Formula/solidity.rb). | ||||||||||||||||||||||||
- [ ] Create a local fork of the repository at ``[email protected]:Homebrew/homebrew-core.git`` | ||||||||||||||||||||||||
- [ ] Make sure that ``brew`` is installed on your system, or use the official Homebrew docker container: | ||||||||||||||||||||||||
``docker run --interactive --tty --rm --pull always --volume "$(pwd):/homebrew-core" --workdir "/homebrew-core" homebrew/ubuntu22.04:latest /bin/bash`` | ||||||||||||||||||||||||
#### Manual Update | ||||||||||||||||||||||||
- [ ] Open the [``solidity`` formula in Homebrew core repository](https://github.com/Homebrew/homebrew-core/blob/master/Formula/s/solidity.rb) using your preferred text editor and update the following fields: | ||||||||||||||||||||||||
- url: Update the URL to reflect the new source file for the updated version. | ||||||||||||||||||||||||
Comment on lines
+80
to
+84
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. Spacing and indentation is off here:
Suggested change
|
||||||||||||||||||||||||
- sha256: Replace with the new SHA256 checksum of the source file. You can obtain it using a command like: | ||||||||||||||||||||||||
Comment on lines
+84
to
+85
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.
Suggested change
|
||||||||||||||||||||||||
``curl -L https://github.com/ethereum/solidity/releases/download/v$VERSION/solidity_$VERSION.tar.gz | sha256sum`` | ||||||||||||||||||||||||
- [ ] Test your changes locally by running the following command from the root directory of your fork: ``brew install --build-from-source ./Formula/s/solidity.rb`` | ||||||||||||||||||||||||
- [ ] Open a PR in the Homebrew repository. | ||||||||||||||||||||||||
#### Automatic Update | ||||||||||||||||||||||||
- [ ] Create a GitHub token and run the following command: ``export HOMEBREW_GITHUB_API_TOKEN=your_token_here`` | ||||||||||||||||||||||||
- [ ] Run the following command to automatically update the formula and create a PR in the Homebrew repository: ``brew bump-formula-pr --version=$VERSION solidity`` | ||||||||||||||||||||||||
Note: the version should not include the prefix ``v``, e.g. ``X.Y.Z``. | ||||||||||||||||||||||||
Comment on lines
+91
to
+92
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.
Suggested change
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
### Docker | ||||||||||||||||||||||||
- [ ] Run ``./scripts/docker_deploy_manual.sh v$VERSION``. | ||||||||||||||||||||||||
|
@@ -103,6 +116,7 @@ At least a day before the release: | |||||||||||||||||||||||
- [ ] Wait for the CI runs on the tag itself. | ||||||||||||||||||||||||
- [ ] Take the ``solc-x.y.z.tgz`` artifact from ``build-package`` run on the tagged commit in circle-ci. | ||||||||||||||||||||||||
Inspect the tarball to ensure that it contains an up-to-date compiler binary (``soljson.js``). | ||||||||||||||||||||||||
See the section "Testing version of soljson.js": https://github.com/ethereum/solidity/wiki/Building-solc%E2%80%90js-from-source#testing-version-of-soljsonjs | ||||||||||||||||||||||||
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.
Suggested change
|
||||||||||||||||||||||||
- [ ] Run ``npm publish solc-x.y.z.tgz`` to publish the newly created tarball. | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
### Post-release | ||||||||||||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.