Copy and fill the environment file
cp scripts/.env.template scripts/.env
- Update version in
Config/project.xcconfig
- Commit the changes
git add -u
BUILD_NUMBER=$(grep "CURRENT_PROJECT_VERSION" Config/project.xcconfig | cut -d' ' -f 3)
MARKETING_VERSION=$(grep "MARKETING_VERSION" Config/project.xcconfig | cut -d' ' -f 3)
git commit -m "Bump version to $MARKETING_VERSION ($BUILD_NUMBER)"
git tag "$MARKETING_VERSION"
- Build & Sign application
source scripts/.env
./scripts/distribute.sh
- Push commits to GitHub
git push
git push --tags
- Create the release on GitHub:
- Fill with contents from CHANGELOG.md
- Add the artefact
release.zip