|
@@ -33,9 +33,11 @@ mv latest.apk ~/apks/
|
|
|
/bin/ls -t ~/apks/*.apk | awk 'NR>6' | xargs rm -f
|
|
|
|
|
|
lastBuildTime=$(date --date="$(git log -1 --format=%ai $(git tag | grep dev | tail -n1))" +%s)
|
|
|
-changelog=$(git log --after=$lastBuildTime --pretty=oneline)
|
|
|
+changelog=$(git log --after=$lastBuildTime --pretty=oneline --abbrev-commit)
|
|
|
|
|
|
+echo $changelog > fastlane/metadata/android/en-US/changelogs/$date.txt
|
|
|
git add build.gradle
|
|
|
+git add fastlane/metadata/android/en-US/changelogs/$date.txt
|
|
|
git commit -m "daily dev $date" -m "$changelog"
|
|
|
git push
|
|
|
|