From 20aef47402d3825ff9106dcabf24e0529d5108ff Mon Sep 17 00:00:00 2001 From: Alex Helfet Date: Wed, 27 Dec 2017 13:57:30 +0000 Subject: [PATCH] Release process: publish `framed` lib only for now. --- bin/publish | 5 ----- bin/publish_lib | 5 +++++ doc/release.md | 4 +++- 3 files changed, 8 insertions(+), 6 deletions(-) delete mode 100755 bin/publish create mode 100755 bin/publish_lib 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