|
26 | 26 | - [ ] Click the `PUBLISH RELEASE` button on the release page, creating the tag.
|
27 | 27 | - [ ] Wait for the CI runs on the tag itself.
|
28 | 28 |
|
29 |
| -### Upload Release Artifacts |
| 29 | +### Upload Release Artifacts and Publish Binaries |
30 | 30 | - [ ] Switch to the tag that archives have to be created for.
|
31 | 31 | - [ ] Create the ``prerelease.txt`` file: (``echo -n > prerelease.txt``).
|
32 | 32 | - [ ] 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``.
|
33 | 33 | - [ ] 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.
|
34 |
| - - [ ] Take the ``solc.exe`` binary from the ``b_win_release`` run of the released commit in circle-ci and add it to the release page as ``solc-windows.exe``. |
35 |
| - - [ ] Take the ``solc`` binary from the ``b_osx`` run of the released commit in circle-ci and add it to the release page as ``solc-macos``. |
36 |
| - - [ ] Take the ``solc`` binary from the ``b_ubu_static`` run of the released commit in circle-ci and add it to the release page as ``solc-static-linux``. |
37 |
| - - [ ] Take the ``soljson.js`` binary from the ``b_ems`` run of the released commit in circle-ci and add it to the release page as ``soljson.js``. |
38 |
| - |
39 |
| -### Update [solc-bin](https://github.com/ethereum/solc-bin/) |
40 |
| - - [ ] Copy files to solc-bin: |
41 |
| - ```bash |
42 |
| - VERSION=0.8.4 |
43 |
| - COMMIT="c7e474f2" |
44 |
| - SOLC_BIN="/home/me/solc-bin" |
45 |
| - chmod +x solc-static-linux solc-macos |
46 |
| - cp soljson.js $SOLC_BIN/bin/soljson-v$VERSION+commit.$COMMIT.js |
47 |
| - cp solc-static-linux $SOLC_BIN/linux-amd64/solc-linux-amd64-v$VERSION+commit.$COMMIT |
48 |
| - cp solc-macos $SOLC_BIN/macosx-amd64/solc-macosx-amd64-v$VERSION+commit.$COMMIT |
49 |
| - cp solc-windows.exe $SOLC_BIN/windows-amd64/solc-windows-amd64-v$VERSION+commit.$COMMIT.exe |
| 34 | + - [ ] 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. |
| 35 | + Make sure it contains four binaries: ``solc-windows.exe``, ``solc-macos``, ``solc-static-linux`` and ``soljson.js``. |
| 36 | + - [ ] 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. |
50 | 37 | - [ ] 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/``.
|
51 |
| - - [ ] Create a pull request and merge. |
| 38 | + - [ ] Create a pull request in solc-bin and merge. |
52 | 39 |
|
53 | 40 | ### Homebrew and MacOS
|
54 | 41 | - [ ] Update the version and the hash (``sha256sum solidity_$VERSION.tar.gz``) in https://github.com/Homebrew/homebrew-core/blob/master/Formula/solidity.rb
|
|
0 commit comments