Skip to content

Commit

Permalink
More release shenanigans:
Browse files Browse the repository at this point in the history
- fix travis config
- add architecture to binary release tarball
- bumped version for good form
  • Loading branch information
tdammers committed Jan 11, 2017
1 parent adc6a25 commit bc8533d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ language: haskell
branches:
only:
- master
- /^\d+(\.\d+)+(-(alpha|beta|rc)\d*)$/
- /^\d+(\.\d+)+(-(alpha|beta|rc)\d*)?$/
sudo: required
cache:
directories:
Expand Down
3 changes: 2 additions & 1 deletion package-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ fi

RELEASEID=$(git describe --tags --always || git log --pretty='format:%h' -1)
PREPDIR="release/sprinkles"
ARCH=$(uname -m)
mkdir -p "$PREPDIR"

mkdir "$PREPDIR/bin"
Expand All @@ -22,7 +23,7 @@ cd "$PREPDIR"
rm -rf examples/*/.cache
cd ".."

RELEASE_FILENAME="sprinkles-$RELEASEID"
RELEASE_FILENAME="sprinkles-$RELEASEID-$ARCH"
echo "$RELEASE_FILENAME"

rm -f "$RELEASE_FILENAME.zip"
Expand Down
2 changes: 1 addition & 1 deletion sprinkles.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: sprinkles
version: 0.3.5.0
version: 0.3.5.1
synopsis: JSON API to HTML website wrapper
description: Please see README.md
homepage: https://bitbucket.org/tdammers/sprinkles
Expand Down

0 comments on commit bc8533d

Please sign in to comment.