Skip to content

Commit a4eaaff

Browse files
committed
Release v0.1.0.1
1 parent 05e8486 commit a4eaaff

2 files changed

Lines changed: 34 additions & 0 deletions

File tree

.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,18 @@ script:
8181
SRC_TGZ=$(cabal info . | awk '{print $2;exit}').tar.gz &&
8282
(cd dist && cabal install --force-reinstalls "$SRC_TGZ");;
8383
esac
84+
85+
deploy:
86+
87+
provider: releases
88+
89+
# encrypted environment variables are not available for pull requests from
90+
# forks.
91+
api_key:
92+
secure: TrQkoxCtTrqtXNVVV24b1rE6O8Lv1p/x1CwMx/yDoSzCCpBewk3jIr1ExJYHJ+JKXOJQAxuP/7LTJ76crchV7geco4NAycOR9Up1at+dO07eKc9gtm9YrI3+o3Es/zXSH0tN+xM7zYi52vdcFLcFtVVMl6dHaJgeKwQkNDa4/S4BimePzaRTeZ31TJ69fhoLRT30MeFFHLGF7xXRiYm6yu8AirciLfx8F2YzTA4utPpGLQT3tTRUUtsWvOghI+Sd/lJNRp9i9gY1UfbBbIk8dvIFA4fIv6T1OW1ChI4U/2OiDgdBjX9cd8rIBY0sUIHzOGe1p34VetDQrZVf6ERtssUvX2jKoK15kGWeCmaBgDHFfQ9nA/qo+y+GGcTriJtyD10QVsVNRrrVBnntuW01h3/dx3KJ51jiE7E0WyoJhae2vPz4bpjlxOJlCbQ4T18MlH0N7pm5TZwWvgfAXjK6zfhg90h8zrUGXAK1yuPelk9pIBjmIifC/7Iwz5ZcS3Vc0HerUkox84L5gqM6qtxojJyPJesquD7imNFtNTAiHG22k3xz+NrLG1bo2x03MQ1wTZg7D1Vxg7DR5Nts9JTgvxq6ttGfG4UTYAD5L6XFtUWTNRhYcqqZvS5YE68E8V+FX1bbUJMQwlH0lnHNqD9Lo3Q/EHG1I+gS8BnVpZF2q7w=
93+
file:
94+
- dist/build/stutter/stutter
95+
on:
96+
tags: true
97+
# Only upload the latest cabal generated executable
98+
condition : "\"$GHCVER\" = \"8.0.2\" && \"$BUILD\" = \"cabal\""

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,3 +160,22 @@ a
160160
$ stutter 'a{42}' | wc -l
161161
42
162162
```
163+
164+
# Release checklist
165+
166+
167+
1. Make sure you're on (latest) master.
168+
169+
1. Bump the version in `stutter.cabal`: `0.MAJOR.MINOR.PATCH`.
170+
171+
> Given a version number MAJOR.MINOR.PATCH, increment the:
172+
>
173+
> MAJOR version when you make incompatible API changes,
174+
> MINOR version when you add functionality in a backwards-compatible manner, and
175+
> PATCH version when you make backwards-compatible bug fixes.
176+
177+
1. Commit the updated `stutter.cabal` file with commit name `Release
178+
v0.MAJOR.MINOR.PATCH`.
179+
1. Tag the commit with `git tag v0.MAJOR.MINOR.PATCH`.
180+
1. Push with `git push --tags`.
181+
1. Run `stack update --pvp-bounds both .` to upload `stutter` to `hackage`.

0 commit comments

Comments
 (0)