From bc8533d52c550048d51e02dc8e0acf020d6c9549 Mon Sep 17 00:00:00 2001 From: Tobias Dammers Date: Wed, 11 Jan 2017 23:06:52 +0100 Subject: [PATCH] More release shenanigans: - fix travis config - add architecture to binary release tarball - bumped version for good form --- .travis.yml | 2 +- package-release.sh | 3 ++- sprinkles.cabal | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5fbf517..1fc93ca 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: diff --git a/package-release.sh b/package-release.sh index 04e4af1..058cd99 100755 --- a/package-release.sh +++ b/package-release.sh @@ -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" @@ -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" diff --git a/sprinkles.cabal b/sprinkles.cabal index d603c25..b0c3d39 100644 --- a/sprinkles.cabal +++ b/sprinkles.cabal @@ -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