main: (Default) Stable, released version. Do not push here directly.dev: Active development branch.
- Fork the repository.
- Create your feature branch off of
dev:git checkout -b my-feature dev - IMPORTANT: When opening a Pull Request, you must change the base branch from
maintodev. (GitHub defaults tomain, so please double-check this!)
This project uses SwiftLint to enforce Swift style and conventions. Before submitting a Pull Request, please ensure that your code passes all lint checks.
To easily catch linting errors during development, we highly recommend installing SwiftLint:
Via Homebrew:
brew install swiftlintYou can run swiftlint lint in the root of the repository to see any warnings or errors.
Our .swiftlint.yml configuration file defines the active rules. By default, the CI pipeline will block Pull Requests that contain SwiftLint errors.
To ensure release notes are generated correctly, please add appropriate labels to your Pull Request. The automation relies on these labels to categorize changes and determine the version number.
- For categorization:
feature,enhancement,bug,fix,documentation,chore,refactor. - For versioning:
major(for breaking changes),minor(for features),patch(for fixes).
If you are fixing a critical bug in production:
- Branch off
main. - Submit a PR to
main. - Important: You must also merge these changes back into
devto ensure the bug doesn't reappear in the next release.