From a4eaaff824fd8e224d4595df322edd0eed4a4469 Mon Sep 17 00:00:00 2001 From: Nicolas Mattia Date: Sun, 4 Jun 2017 15:25:59 +0200 Subject: [PATCH] Release v0.1.0.1 --- .travis.yml | 15 +++++++++++++++ README.md | 19 +++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/.travis.yml b/.travis.yml index 6cd33b1..789979c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -81,3 +81,18 @@ script: SRC_TGZ=$(cabal info . | awk '{print $2;exit}').tar.gz && (cd dist && cabal install --force-reinstalls "$SRC_TGZ");; esac + +deploy: + + provider: releases + + # encrypted environment variables are not available for pull requests from + # forks. + api_key: + secure: TrQkoxCtTrqtXNVVV24b1rE6O8Lv1p/x1CwMx/yDoSzCCpBewk3jIr1ExJYHJ+JKXOJQAxuP/7LTJ76crchV7geco4NAycOR9Up1at+dO07eKc9gtm9YrI3+o3Es/zXSH0tN+xM7zYi52vdcFLcFtVVMl6dHaJgeKwQkNDa4/S4BimePzaRTeZ31TJ69fhoLRT30MeFFHLGF7xXRiYm6yu8AirciLfx8F2YzTA4utPpGLQT3tTRUUtsWvOghI+Sd/lJNRp9i9gY1UfbBbIk8dvIFA4fIv6T1OW1ChI4U/2OiDgdBjX9cd8rIBY0sUIHzOGe1p34VetDQrZVf6ERtssUvX2jKoK15kGWeCmaBgDHFfQ9nA/qo+y+GGcTriJtyD10QVsVNRrrVBnntuW01h3/dx3KJ51jiE7E0WyoJhae2vPz4bpjlxOJlCbQ4T18MlH0N7pm5TZwWvgfAXjK6zfhg90h8zrUGXAK1yuPelk9pIBjmIifC/7Iwz5ZcS3Vc0HerUkox84L5gqM6qtxojJyPJesquD7imNFtNTAiHG22k3xz+NrLG1bo2x03MQ1wTZg7D1Vxg7DR5Nts9JTgvxq6ttGfG4UTYAD5L6XFtUWTNRhYcqqZvS5YE68E8V+FX1bbUJMQwlH0lnHNqD9Lo3Q/EHG1I+gS8BnVpZF2q7w= + file: + - dist/build/stutter/stutter + on: + tags: true + # Only upload the latest cabal generated executable + condition : "\"$GHCVER\" = \"8.0.2\" && \"$BUILD\" = \"cabal\"" diff --git a/README.md b/README.md index b731edb..5dd658c 100644 --- a/README.md +++ b/README.md @@ -160,3 +160,22 @@ a $ stutter 'a{42}' | wc -l 42 ``` + +# Release checklist + + +1. Make sure you're on (latest) master. + +1. Bump the version in `stutter.cabal`: `0.MAJOR.MINOR.PATCH`. + +> Given a version number MAJOR.MINOR.PATCH, increment the: +> +> MAJOR version when you make incompatible API changes, +> MINOR version when you add functionality in a backwards-compatible manner, and +> PATCH version when you make backwards-compatible bug fixes. + +1. Commit the updated `stutter.cabal` file with commit name `Release + v0.MAJOR.MINOR.PATCH`. +1. Tag the commit with `git tag v0.MAJOR.MINOR.PATCH`. +1. Push with `git push --tags`. +1. Run `stack update --pvp-bounds both .` to upload `stutter` to `hackage`.