Skip to content

mobilecoinfoundation/sgx

Repository files navigation

MobileCoin SGX

Project ChatLicenseDependency StatusCodeCov StatusGitHub Workflow StatusContributor Covenant

A collection of crates which wrap Intel's SGX SDK and Data Center Attestation Primitives suites.

Releasing

The crates are released as one workspace. This means a release is due to one crate, all of the crates will be released with a new version, even if there is no change to the others.

The suggested method for releasing of these crates is with cargo release.

The following command will do a dry run showing a user what would happen

cargo release

To see the commits that will be created one could do

cargo release --no-publish --no-push --no-tag --no-confirm --workspace --dev-version --execute

This will create 2 commits similar to

commit 0bba4ae48d726080ac0e34e65bab6efa3583519d 
Author: Joe Schmoe <joe@schmoe.com>
Date:   Tue Oct 4 13:30:21 2018 -0700

    (cargo-release) start next development iteration 0.2.1-pre

commit 89ac834220465cdff691b590bcf21bab66b3c08d
Author: Joe Schmoe <joe@schmoe.com>
Date:   Tue Oct 4 13:30:20 2018 -0700

    (cargo-release) version 0.2.0

The first (bottom most) commit will be updating to the next by removing the development suffix -pre. The second (topmost) will bump the patch version and add back the development suffix.