Ensure the change-log is short for Google Play (#850)

This commit is contained in:
Justin Bassett 2020-08-31 12:42:02 -04:00 committed by GitHub
parent 7ffabca380
commit 44551543bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -111,7 +111,7 @@ jobs:
previous=`git tag -l --sort=-creatordate | grep -v beta- | head -n 1`
echo "Full release notes: https://github.com/home-assistant/android/releases/tag/$VERSION" >> app/src/main/play/release-notes/en-US/default-long.txt
git log --format=%s ${previous}..HEAD >> app/src/main/play/release-notes/en-US/default-long.txt
cut -c 1-500 app/src/main/play/release-notes/en-US/default-long.txt > app/src/main/play/release-notes/en-US/default.txt
head -n 2 app/src/main/play/release-notes/en-US/default-long.txt > app/src/main/play/release-notes/en-US/default.txt
- name: Create Github Pre-Release
id: create_release
@ -223,7 +223,7 @@ jobs:
previous=`git tag -l --sort=-creatordate | grep -v beta- | head -n 1`
echo "Full release notes: https://github.com/home-assistant/android/releases/tag/$VERSION" >> app/src/main/play/release-notes/en-US/default-long.txt
git log --format=%s ${previous}..HEAD >> app/src/main/play/release-notes/en-US/default-long.txt
cut -c 1-500 app/src/main/play/release-notes/en-US/default-long.txt > app/src/main/play/release-notes/en-US/default.txt
head -n 2 app/src/main/play/release-notes/en-US/default-long.txt > app/src/main/play/release-notes/en-US/default.txt
- name: Deploy to Playstore Beta
env:

View file

@ -111,7 +111,7 @@ jobs:
current=`git tag -l --sort=-creatordate | head -n 1`
echo "Full release change log: https://github.com/home-assistant/android/releases/tag/${current}" > app/src/main/play/release-notes/en-US/default-long.txt
git log --format=%s ${previous}..${current} >> app/src/main/play/release-notes/en-US/default-long.txt
cut -c 1-500 app/src/main/play/release-notes/en-US/default-long.txt > app/src/main/play/release-notes/en-US/default.txt
head -n 2 app/src/main/play/release-notes/en-US/default-long.txt > app/src/main/play/release-notes/en-US/default.txt
- name: Create Github Pre-Release
id: create_release
@ -223,7 +223,7 @@ jobs:
current=`git tag -l --sort=-creatordate | head -n 1`
echo "Full release change log: https://github.com/home-assistant/android/releases/tag/${current}" > app/src/main/play/release-notes/en-US/default-long.txt
git log --format=%s ${previous}..${current} >> app/src/main/play/release-notes/en-US/default-long.txt
cut -c 1-500 app/src/main/play/release-notes/en-US/default-long.txt > app/src/main/play/release-notes/en-US/default.txt
head -n 2 app/src/main/play/release-notes/en-US/default-long.txt > app/src/main/play/release-notes/en-US/default.txt
- name: Deploy to Playstore Beta
env: