There was an error while loading. Please reload this page.
1 parent 5855d84 commit ad02133Copy full SHA for ad02133
2 files changed
app/build.gradle
@@ -6,7 +6,7 @@ def getChangelog = { ->
6
if (commitRange) {
7
if (System.getenv("TRAVIS_TAG")) {
8
def tag = System.getenv("TRAVIS_TAG")
9
- commitRange = 'git describe --abbrev=0 --tags $TRAVIS_TAG^'.execute().text.trim() + '...' + tag
+ commitRange = ('git describe --abbrev=0 --tags ' + tag + '^').execute().text.trim() + '...' + tag
10
}
11
12
def stdout = new ByteArrayOutputStream()
scripts/changelog.sh
@@ -1,7 +1,7 @@
1
#!/usr/bin/env sh
2
MERGE_PREFIX="Merge pull request"
3
4
-if [[ ! -z $TRAVIS_TAG ]]
+if [ ! -z "$TRAVIS_TAG" ]
5
then
TRAVIS_COMMIT_RANGE="$(git describe --abbrev=0 --tags $TRAVIS_TAG^)...$TRAVIS_TAG"
fi
0 commit comments