From 2cc8e56d051160ab68cee87bfc13e848e1d87efc Mon Sep 17 00:00:00 2001 From: Jonas L Date: Tue, 11 Jul 2023 13:23:22 +0200 Subject: [PATCH] chore: setup the `stable-1` release branch (#254) * ci: run pipelines on stable-1 branch * docs: add note about the release policy --- .azure-pipelines/azure-pipelines.yml | 9 +++------ .github/workflows/lint.yml | 2 +- README.md | 4 ++++ 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.azure-pipelines/azure-pipelines.yml b/.azure-pipelines/azure-pipelines.yml index ce8f514..8d9a381 100644 --- a/.azure-pipelines/azure-pipelines.yml +++ b/.azure-pipelines/azure-pipelines.yml @@ -1,22 +1,19 @@ trigger: batch: true branches: - include: - - main + include: [main, stable-1] pr: autoCancel: true branches: - include: - - main + include: [main, stable-1] schedules: - cron: 0 9 * * * displayName: Nightly always: true branches: - include: - - main + include: [main, stable-1] variables: - name: checkoutPath diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 8a56cc6..dd02e6d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,7 +2,7 @@ name: Lint on: push: - branches: [main] + branches: [main, stable-1] pull_request: jobs: diff --git a/README.md b/README.md index ee4e7fa..0f0deb9 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,10 @@ This collection depends on the [hcloud](https://github.com/hetznercloud/hcloud-p See [here](https://github.com/ansible-collections/hetzner.hcloud/tree/master/CHANGELOG.rst). +### Release policy + +The `main` branch is used for the development of the latest versions of the collections, and may contain breaking changes. The `stable-*` branches (e.g. `stable-1` for the `1.x.y` releases) are used to cut additional minor or patch releases if needed, but we do not provide official support for multiple versions of the collection. + ## Documentation The documentation for all modules are available through `ansible-doc`.