diff options
author | Jasper Van der Jeugt <m@jaspervdj.be> | 2017-12-29 22:23:48 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <m@jaspervdj.be> | 2017-12-29 22:23:52 +0100 |
commit | 7844d5a42e7e0b546876ac3a3fa893f84bce6325 (patch) | |
tree | 8d55d170b95039a64e69fd3ee4f6ac7379474966 /.circleci | |
parent | fe698151f120590baf5828a1f487da1e95cb1196 (diff) | |
download | stylish-haskell-7844d5a42e7e0b546876ac3a3fa893f84bce6325.tar.gz |
Bump version to 0.9.0.1v0.9.0.1
Diffstat (limited to '.circleci')
-rwxr-xr-x | .circleci/release.sh | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/.circleci/release.sh b/.circleci/release.sh index 2632760..ca474ce 100755 --- a/.circleci/release.sh +++ b/.circleci/release.sh @@ -18,17 +18,24 @@ if [[ -z "$TAG" ]]; then exit 0 fi -GHR_VERSION="v0.5.4" - # Install ghr +GHR_VERSION="v0.5.4" wget --quiet \ "https://github.com/tcnksm/ghr/releases/download/${GHR_VERSION}/ghr_${GHR_VERSION}_linux_386.zip" unzip ghr_${GHR_VERSION}_linux_386.zip +# Install upx +UPX_VERSION="3.94" +wget --quiet \ + "https://github.com/upx/upx/releases/download/v${UPX_VERSION}/upx-${UPX_VERSION}-amd64_linux.tar.xz" +tar xf upx-${UPX_VERSION}-amd64_linux.tar.xz +mv upx-${UPX_VERSION}-amd64_linux/upx . + # Create tarball PACKAGE="$REPOSITORY-$TAG-$SUFFIX" mkdir -p "$PACKAGE" cp "$(which "$BINARY")" "$PACKAGE" +./upx "$PACKAGE/$BINARY" cp README.* "$PACKAGE" tar -czf "$PACKAGE.tar.gz" "$PACKAGE" rm -r "$PACKAGE" |