Skip to content

Commit 58fd1ab

Browse files
authored
Merge pull request #60 from apauley/release-tarball-fixes
Release tarball fixes
2 parents 11fc437 + d1bf1c2 commit 58fd1ab

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

ChangeLog.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog for [hledger-flow](https://github.com/apauley/hledger-flow)
22

3+
## 0.12.2.1
4+
5+
Fix resolver extraction and hledger-flow --version in release-tarball script
6+
37
## 0.12.2
48

59
Slightly smarter reporting.

bin/release-tarball

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ mkdir -p ${TARGETBASE}
3737
ABBRHASH="$(git log -1 --format=tformat:%h)"
3838
PACKAGE_VERSION="$(grep '^version:' ${BASEDIR}/package.yaml|awk '{print $2}')"
3939
VERSION="v${PACKAGE_VERSION}"
40-
STACK_RESOLVER="$(grep '^resolver: lts-' ${STACK_YAML}|cut -d' ' -f2)"
40+
STACK_RESOLVER="$(grep '^resolver:' ${STACK_YAML}|cut -d' ' -f2)"
4141
GHC_VERSION="$(stack exec -- ghc --version)"
4242
CLI_NAME="$(basename ${FILE})"
4343
PLATFORM=`uname -s`
@@ -53,7 +53,7 @@ date > ${BUILDINFO}
5353

5454
echo >> ${BUILDINFO}
5555
uname -a >> ${BUILDINFO}
56-
echo -e "\nhledger-flow version: $(${FILE} version)" >> ${BUILDINFO}
56+
echo -e "\nhledger-flow version: $(${FILE} --version)" >> ${BUILDINFO}
5757
echo -e "hledger-flow package.yaml version: ${PACKAGE_VERSION}\n" >> ${BUILDINFO}
5858
echo -e "${STACK_YAML} resolver: ${STACK_RESOLVER}" >> ${BUILDINFO}
5959
echo -e "GHC Version: ${GHC_VERSION}\n" >> ${BUILDINFO}

package.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: hledger-flow
2-
version: 0.12.2.0
2+
version: 0.12.2.1
33
synopsis: An hledger workflow focusing on automated statement import and classification.
44
category: Finance, Console
55
license: GPL-3

0 commit comments

Comments
 (0)