solidity/ReleaseChecklist.md

71 lines
5.5 KiB
Markdown
Raw Normal View History

2019-02-28 11:34:51 +00:00
## Checklist for making a release:
2017-07-06 12:52:31 +00:00
2019-02-28 11:34:51 +00:00
### Requirements
- [ ] Lauchpad (Ubuntu One) account
- [ ] gnupg key (has to be version 1, gpg2 won't work) for `your-name@ethereum.org` created and uploaded
- [ ] Readthedocs account, access to the Solidity project
- [ ] Write access to https://github.com/ethereum/homebrew-ethereum
2020-08-31 16:44:06 +00:00
### Documentation check
- [ ] Run `make linkcheck` from within `docs/` and fix any broken links it finds. Ignore false positives caused by `href` anchors and dummy links not meant to work.
2020-06-09 09:52:10 +00:00
### Blog Post
- [ ] Create a post on https://github.com/ethereum/solidity-blog and explain some of the new features or concepts.
2019-02-28 11:34:51 +00:00
### Changelog
- [ ] Sort the changelog entries alphabetically and correct any errors you notice.
- [ ] Create a commit on a new branch that updates the ``Changelog`` to include a release date.
- [ ] Run ``./scripts/tests.sh`` to update the bug list.
2017-07-06 12:52:31 +00:00
- [ ] Create a pull request and wait for the tests, merge it.
2019-02-28 11:34:51 +00:00
### Create the Release
- [ ] Create Github release page: https://github.com/ethereum/solidity/releases/new
2021-04-21 15:16:19 +00:00
- [ ] On the release page, select the ``develop`` branch as new target and set tag to the new version (e.g. `v0.8.5`) (make sure you only `SAVE DRAFT` instead of `PUBLISH RELEASE` before the actual release)
2020-10-08 21:23:42 +00:00
- [ ] Thank voluntary contributors in the Github release page (use ``git shortlog -s -n -e v0.5.3..origin/develop``).
- [ ] Check that all tests on the latest commit in ``develop`` are green.
- [ ] Click the `PUBLISH RELEASE` button on the release page, creating the tag.
2021-04-21 15:16:19 +00:00
- [ ] Wait for the CI runs on the tag itself.
2020-10-08 21:23:42 +00:00
### Upload Release Artifacts and Publish Binaries
- [ ] Switch to the tag that archives have to be created for.
- [ ] Create the ``prerelease.txt`` file: (``echo -n > prerelease.txt``).
- [ ] Run ``scripts/create_source_tarball.sh`` while being on the tag to create the source tarball. This will create the tarball in a directory called ``upload``.
- [ ] Take the tarball from the upload directory (its name should be ``solidity_x.x.x.tar.gz``, otherwise ``prerelease.txt`` was missing in the step before) and upload the source tarball to the release page.
- [ ] Take the ``github-binaries.tar`` tarball from ``b_release_binaries`` run of the tagged commit in circle-ci and add all binaries from it to the release page.
Make sure it contains four binaries: ``solc-windows.exe``, ``solc-macos``, ``solc-static-linux`` and ``soljson.js``.
- [ ] Take the ``solc-bin-binaries.tar`` tarball from ``b_release_binaries`` run of the tagged commit in circle-ci and add all binaries from it to solc-bin.
2020-10-08 21:23:42 +00:00
- [ ] Run ``./update --reuse-hashes`` in ``solc-bin`` and verify that the script has updated ``list.js``, ``list.txt`` and ``list.json`` files correctly and that symlinks to the new release have been added in ``solc-bin/wasm/`` and ``solc-bin/emscripten-wasm32/``.
- [ ] Create a pull request in solc-bin and merge.
2019-02-28 11:34:51 +00:00
2020-07-22 17:02:43 +00:00
### Homebrew and MacOS
2020-10-08 21:23:42 +00:00
- [ ] Update the version and the hash (``sha256sum solidity_$VERSION.tar.gz``) in https://github.com/Homebrew/homebrew-core/blob/master/Formula/solidity.rb
- [ ] Update the version and the hash (``sha256sum solidity_$VERSION.tar.gz``) in https://github.com/ethereum/homebrew-ethereum/blob/master/solidity.rb
2020-07-22 17:02:43 +00:00
2020-10-08 21:23:42 +00:00
### Docker
- [ ] Run ``./scripts/docker_deploy_manual.sh v$VERSION``).
2020-07-22 17:02:43 +00:00
2019-02-28 11:34:51 +00:00
### PPA
- [ ] Make sure the ``ethereum/cpp-build-deps`` PPA repository contains libz3-static-dev builds for all current versions of ubuntu. If not run ``scripts/deps-ppa/static-z3.sh`` (after changing email address and key id and adding the missing ubuntu version) and wait for the builds to succeed before continuing.
- [ ] Change ``scripts/release_ppa.sh`` to match your key's email and key id; double-check that ``DISTRIBUTIONS`` contains the most recent versions.
2020-10-08 21:23:42 +00:00
- [ ] Run ``scripts/release_ppa.sh v$VERSION`` to create the PPA release (you need the relevant openssl key).
- [ ] Wait for the ``~ethereum/ubuntu/ethereum-static`` PPA build to be finished and published for *all platforms*. SERIOUSLY: DO NOT PROCEED EARLIER!!! *After* the static builds are *published*, copy the static package to the ``~ethereum/ubuntu/ethereum`` PPA for the destination series ``Trusty``, ``Xenial`` and ``Bionic`` while selecting ``Copy existing binaries``.
2019-02-28 11:34:51 +00:00
### Documentation
2021-02-16 14:26:20 +00:00
- [ ] Build the new version on https://readthedocs.org/projects/solidity/ (select `latest` at the bottom of the page and click `BUILD`).
2019-03-05 16:45:05 +00:00
- [ ] In the admin panel, select `Versions` in the menu and set the default version to the released one.
2019-02-28 11:34:51 +00:00
### Release solc-js
2020-10-08 21:23:42 +00:00
- [ ] Wait until solc-bin was properly deployed. You can test this via remix - a test run through remix is advisable anyway.
2019-02-28 11:34:51 +00:00
- [ ] Increment the version number, create a pull request for that, merge it after tests succeeded.
- [ ] Run ``npm run build:tarball`` in the updated ``solc-js`` repository to create ``solc-<version>.tgz``. Inspect the tarball to ensure that it contains an up to date compiler binary.
- [ ] Run ``npm run publish:tarball`` to publish the newly created tarball.
2020-10-08 21:23:42 +00:00
- [ ] Create a tag using ``git tag --annotate v$VERSION`` and push it with ``git push --tags``.
2019-02-28 11:34:51 +00:00
### Post-release
2020-07-22 17:02:43 +00:00
- [ ] Publish the blog post.
2019-03-05 16:45:05 +00:00
- [ ] Create a commit to increase the version number on ``develop`` in ``CMakeLists.txt`` and add a new skeleton changelog entry.
2021-05-03 12:18:26 +00:00
- [ ] Announce on Twitter, including links to the release and the blog post.
- [ ] Share announcement on Reddit and Solidity forum.
- [ ] Update the release information section on [soliditylang.org](https://github.com/ethereum/solidity-portal).
2017-07-24 09:41:43 +00:00
- [ ] Lean back, wait for bug reports and repeat from step 1 :)