This document describes the process of releasing new versions of tuist.
- First make sure you are in main and the latest changes are pulled:
git checkout main && git pull origin main
- 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
. - Build tuist artifacts by running
./fourier release tuist x.y.z
. - 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.