You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seulgi Kim edited this page May 23, 2019
·
15 revisions
CodeChain would be published irregularly using the semver syntax.
You can see all future releases and changelogs 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
Before building the binary
Change version in the Cargo.toml
Run cargo build to update Cargo.lock
Add Cargo.toml and Cargo.lock to the commit
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} |