mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-17 15:49:20 +01:00
Fix commit count in travis' build
This commit is contained in:
parent
9fdc5b4b9d
commit
dd3f5a146d
@ -1,6 +1,9 @@
|
|||||||
language: android
|
language: android
|
||||||
android:
|
android:
|
||||||
components:
|
components:
|
||||||
|
- tools
|
||||||
|
- platform-tools
|
||||||
|
- tools
|
||||||
- build-tools-26.0.1
|
- build-tools-26.0.1
|
||||||
- android-26
|
- android-26
|
||||||
- extra-android-m2repository
|
- extra-android-m2repository
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
git fetch --unshallow #required for commit count
|
||||||
|
|
||||||
if [ -z "$TRAVIS_TAG" ]; then
|
if [ -z "$TRAVIS_TAG" ]; then
|
||||||
./gradlew clean buildStandardDebug
|
./gradlew clean buildStandardDebug
|
||||||
|
|
||||||
git fetch --unshallow #required for commit count
|
|
||||||
COMMIT_COUNT=$(git rev-list --count HEAD)
|
COMMIT_COUNT=$(git rev-list --count HEAD)
|
||||||
export ARTIFACT="tachiyomi-r${COMMIT_COUNT}.apk"
|
export ARTIFACT="tachiyomi-r${COMMIT_COUNT}.apk"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user