Skip to content

Releases

Tuist uses a continuous release system that automatically publishes new versions whenever meaningful changes are merged to the main branch. This approach ensures that improvements reach users quickly without manual intervention from maintainers.

We continuously release three main components:

  • Tuist CLI - The command-line tool
  • Tuist Server - The backend services
  • Tuist App - The macOS and iOS apps (iOS app is only continuously deployed to TestFlight, see more here

Each component has its own release pipeline that runs automatically on every push to the main branch.

We use Conventional Commits to structure our commit messages. This allows our tooling to understand the nature of changes, determine version bumps, and generate appropriate changelogs.

Format: type(scope): description

TypeDescriptionVersion ImpactExample
featNew feature or capabilityMinor version bump (x.Y.z)feat(cli): add support for Swift 6
fixBug fixPatch version bump (x.y.Z)fix(app): resolve crash when opening projects
docsDocumentation changesNo releasedocs: update installation guide
styleCode style changesNo releasestyle: format code with swiftformat
refactorCode refactoringNo releaserefactor(server): simplify auth logic
perfPerformance improvementsPatch version bumpperf(cli): optimize dependency resolution
testTest additions/changesNo releasetest: add unit tests for cache
choreMaintenance tasksNo releasechore: update dependencies
ciCI/CD changesNo releaseci: add workflow for releases

Breaking changes trigger a major version bump (X.0.0) and should be indicated in the commit body:

feat(cli): change default cache location
BREAKING CHANGE: The cache is now stored in ~/.tuist/cache instead of .tuist-cache.
Users will need to clear their old cache directory.

Each component uses git cliff to:

  • Analyze commits since the last release
  • Filter commits by scope (cli, app, server)
  • Determine if there are releasable changes
  • Generate changelogs automatically

When releasable changes are detected:

  1. Version calculation: The pipeline determines the next version number
  2. Changelog generation: git cliff creates a changelog from commit messages
  3. Build process: The component is built and tested
  4. Artifact generation: Release-specific assets are produced, such as the CLI bundles, checksums, and the tuist.spec.json CLI specification generated from tuist --experimental-dump-help
  5. Release creation: A GitHub release is created with artifacts
  6. Distribution: Updates are pushed to package managers (e.g., Homebrew for CLI)

Each component only releases when it has relevant changes:

  • CLI: Commits with (cli) scope or no scope
  • App: Commits with (app) scope
  • Server: Commits with (server) scope

Since commit messages directly influence release notes, it’s important to write clear, descriptive messages:

  • Use present tense: “add feature” not “added feature”
  • Be concise but descriptive
  • Include the scope when changes are component-specific
  • Reference issues when applicable: fix(cli): resolve build cache issue (#1234)
  • Use vague messages like “fix bug” or “update code”
  • Mix multiple unrelated changes in one commit
  • Forget to include breaking change information

For breaking changes, include BREAKING CHANGE: in the commit body:

feat(cli): change cache directory structure
BREAKING CHANGE: Cache files are now stored in a new directory structure.
Users need to clear their cache after updating.

The release workflow is defined in .github/workflows/release.yml.

It coordinates the component-specific jobs for the CLI, app, server, cache, Gradle plugin, skills, and Noora releases. For the CLI, it also generates and publishes a tuist.spec.json artifact so downstream tooling can consume the command interface.

The workflow:

  • Runs on pushes to main
  • Uses git cliff for change detection
  • Handles the full release process, including artifacts and GitHub releases

You can monitor releases through:

  • GitHub Releases page
  • GitHub Actions tab for workflow runs
  • Changelog files in each component directory

This continuous release approach provides:

  • Fast delivery: Changes reach users immediately after merging
  • Reduced bottlenecks: No waiting for manual releases
  • Clear communication: Automated changelogs from commit messages
  • Consistent process: Same release flow for all components
  • Quality assurance: Only tested changes are released

If a release fails:

  1. Check the GitHub Actions logs for the failed workflow
  2. Ensure your commit messages follow the conventional format
  3. Verify that all tests pass
  4. Check that the component builds successfully

For urgent fixes that need immediate release:

  1. Ensure your commit has a clear scope
  2. After merging, monitor the release workflow
  3. If needed, trigger a manual release

While the CLI and Server follow the continuous release process described above, the iOS app is an exception due to Apple’s App Store review process:

  • Manual releases: iOS app releases require manual submission to the App Store
  • Review delays: Each release must go through Apple’s review process, which can take 1-7 days
  • Batched changes: Multiple changes are typically bundled together in each iOS release
  • TestFlight: Beta versions may be distributed via TestFlight before App Store release
  • Release notes: Must be written specifically for App Store guidelines

The iOS app still follows the same commit conventions and uses git cliff for changelog generation, but the actual release to users happens on a less frequent, manual schedule.