Skip to content

Release

Seung Woo Kim edited this page Apr 4, 2019 · 15 revisions

CodeChain would be published irregularly using the semver syntax. You can see all future releases and change logs in here.

The public APIs of CodeChain are JSON RPC and Network Protocol. A major version would be released when one of them is changed without backward compatibility.

How to release binary

Run release build

touch codechain/main.rs # It guarantees to update the commit hash.
cargo build --release

Calculate a checksum

Use sha256 for checksum

shasum -a 256 codechain

Compress the binary file

  • Set version
CODECHAIN_VERSION="1.0.0"
  • Compress the binary file
tar cvfz codechain-${CODECHAIN_VERSION}-$(uname -m)-$(echo $(uname) | tr '[:upper:]' '[:lower:]').tar.gz codechain

Upload the binary file with checksum

  • template
| OS    | Binary                    | SHA256     |
|-------|---------------------------|------------|
| Linux | [{filename}]({file path}) | {checksum} |
| OS X  | [{filename}]({file path}) | {checksum} |