diff --git a/.github/RELEASING.md b/.github/RELEASING.md index cf2020daee..e557d0c114 100644 --- a/.github/RELEASING.md +++ b/.github/RELEASING.md @@ -45,7 +45,7 @@ Each step publishes immediately and there's no approval gate. Check `main` befor 4. Watch the [Release](https://github.com/SQLMesh/sqlmesh/actions/workflows/release.yaml) run until it finishes. 5. Check that the new version is on [PyPI](https://pypi.org/project/sqlmesh/#history). -6. Edit the generated release on the [Releases page](https://github.com/SQLMesh/sqlmesh/releases). Under **Breaking changes**, add a short upgrade note for each entry. Say what users will see after upgrading, such as a migration or a metadata-only change in `sqlmesh plan`. +6. Edit the generated release on the [Releases page](https://github.com/SQLMesh/sqlmesh/releases). Under **Breaking changes**, add a short upgrade note for each entry. Copy it from the `### Upgrade note` section of that pull request's description. If a pull request has none, write one that says what users will see after upgrading and what to do, such as running `sqlmesh migrate` or applying a metadata-only change in `sqlmesh plan`. If the workflow fails after the PyPI step, don't delete or reuse the tag. PyPI doesn't accept the same version twice. Fix the cause and release the next version. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f1afc4c91b..1e8757420c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -98,7 +98,7 @@ type(scope): description - `type` is one of `feat`, `fix`, `perf`, `docs`, `refactor`, `chore`, `build`, `revert`, `ci` or `test`. Lowercase is preferred, but `Fix:` is treated like `fix:`. - `scope` is optional and names the area changed, e.g. `snowflake`, `plan`, `dbt` or `vscode`. -- Add `!` after the type or scope for a breaking change, e.g. `feat(plan)!: drop support for X`. +- Add `!` after the type or scope for a breaking change, e.g. `feat(plan)!: drop support for X`. Also add an `### Upgrade note` section to the description that says what users will see after upgrading and what to do about it. It's copied into the release notes. - Write the description for users: say what changed for them, not how the code changed. Titles created by GitHub's "Revert" button (`Revert "..."`) are also accepted. If the