Send change log to testflight (#124)

This commit is contained in:
Rodrigo Nascimento 2017-12-02 19:28:38 -02:00
parent 277adfbb75
commit caf0f2354c
No known key found for this signature in database
GPG Key ID: CFCE33B7B01AC335
2 changed files with 9 additions and 1 deletions

7
.circleci/changelog.sh Normal file
View File

@ -0,0 +1,7 @@
#!/bin/bash
git log --format="%cd" -n 14 --date=short | sort -u -r | while read DATE ; do
echo $DATE
GIT_PAGER=cat git log --no-merges --format="- %s" --since="$DATE 00:00:00" --until="$DATE 24:00:00"
echo
done

View File

@ -137,6 +137,7 @@ jobs:
- run:
name: Install NPM modules
command: |
rm -rf node_modules
npm install
npm install react-native
@ -185,7 +186,7 @@ jobs:
name: Fastlane Tesflight Upload
command: |
cd ios
fastlane pilot upload
fastlane pilot upload --changelog "$(sh ../.circleci/changelog.sh)"
workflows:
version: 2