diff --git a/.circleci/changelog.sh b/.circleci/changelog.sh new file mode 100644 index 0000000000000000000000000000000000000000..deb042836fc5aed7489185b731edcc0ee797f04f --- /dev/null +++ b/.circleci/changelog.sh @@ -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 diff --git a/.circleci/config.yml b/.circleci/config.yml index 51eb5edc94f86a36755c00f754916dd8e1d4d65a..37f74a1b76139965a70c05ed8a362db90d4809da 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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