This document describes the process of releasing new versions of tuist.
- First make sure you are in master and the latest changes are pulled:
git pull origin master
- Ensure that the project is in a releasable state by running the tests:
swift test
andbundle exec rake features
. - Determine the new version:
- Major if there's been a breaking change.
- Minor by default.
- Patch if it's a hotfix release.
- Update the version in the
Constants.swift
file. - Update the
CHANGELOG.md
to include the version section. - Commit the changes and tag the commit with the version
git tag x.y.z
. - Package and upload the release to GCS by running
bundle exec rake release
. - Upload the installation scripts to GCS by running
bundle exec rake release_scripts
. - Create a release on GitHub with the version as a title, the body from the CHANGELOG file, and attach the artifacts in the
build/
directory. - Run
tuist update
and verify that the new version is installed and runs.