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