diff --git a/Submodules/fastlane-ci-templates b/Submodules/fastlane-ci-templates index e0bfc0d4..80788604 160000 --- a/Submodules/fastlane-ci-templates +++ b/Submodules/fastlane-ci-templates @@ -1 +1 @@ -Subproject commit e0bfc0d42300df9e06f89ef919884efa3e671e67 +Subproject commit 807886048e91a4de1b2ed69f4b8d3c1dc4f664ee diff --git a/scripts/commit-release.sh b/scripts/commit-release.sh index 5b3cf2bb..979ac00b 100755 --- a/scripts/commit-release.sh +++ b/scripts/commit-release.sh @@ -5,5 +5,8 @@ if [[ $CURRENT_BRANCH != "master" ]]; then exit fi -ci/update-asc-metadata.sh mac -ci/update-asc-metadata.sh ios +VERSION=`ci/version-number.sh` +DATE=`date "+%Y-%m-%d"` +CHANGELOG_GLOB="Passepartout/App/*/CHANGELOG.md" +sed -i '' -E "s/^.*Beta.*$/## $VERSION ($DATE)/g" $CHANGELOG_GLOB +git commit -am "Release" && git tag -as "v$VERSION"