diff --git a/bin/publish b/bin/publish deleted file mode 100755 index ed43cd5..0000000 --- a/bin/publish +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env bash -set -ex - -rustup toolchain update stable; -cargo +stable publish --target x86_64-unknown-linux-gnu --verbose; \ No newline at end of file diff --git a/bin/publish_lib b/bin/publish_lib new file mode 100755 index 0000000..2e91eb8 --- /dev/null +++ b/bin/publish_lib @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -ex + +rustup toolchain update stable; +cargo +stable publish --verbose --manifest-path framed/Cargo.toml; diff --git a/doc/release.md b/doc/release.md index 8b0b426..97e0082 100644 --- a/doc/release.md +++ b/doc/release.md @@ -1,5 +1,7 @@ # Release process +## `framed` crate + 1. Push changes to [GitHub][github]. 1. Check build locally with `bin/build_local`. 1. Check [Travis build][travis]: [![Build Status](https://travis-ci.org/fluffysquirrels/framed-rs.svg)][travis] @@ -8,7 +10,7 @@ 1. Increment version number in Cargo.toml (major version if breaking changes). 1. Commit to update the version number. 1. Add a git tag for the new version number. Push it to [GitHub][github]. -1. Publish with `bin/publish`. +1. Publish with `bin/publish_lib`. 1. Check new version appears on [![Crate](https://img.shields.io/crates/v/framed.svg)][crates] and