Skip to content

Commit ad02133

Browse files
committed
Fix derp in changelog for tagged builds
1 parent 5855d84 commit ad02133

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def getChangelog = { ->
66
if (commitRange) {
77
if (System.getenv("TRAVIS_TAG")) {
88
def tag = System.getenv("TRAVIS_TAG")
9-
commitRange = 'git describe --abbrev=0 --tags $TRAVIS_TAG^'.execute().text.trim() + '...' + tag
9+
commitRange = ('git describe --abbrev=0 --tags ' + tag + '^').execute().text.trim() + '...' + tag
1010
}
1111

1212
def stdout = new ByteArrayOutputStream()

scripts/changelog.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env sh
22
MERGE_PREFIX="Merge pull request"
33

4-
if [[ ! -z $TRAVIS_TAG ]]
4+
if [ ! -z "$TRAVIS_TAG" ]
55
then
66
TRAVIS_COMMIT_RANGE="$(git describe --abbrev=0 --tags $TRAVIS_TAG^)...$TRAVIS_TAG"
77
fi

0 commit comments

Comments
 (0)