diff --git a/.github/renovate.json b/.github/renovate.json index fa3efcbf..41f284e6 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -3,7 +3,7 @@ "github>rancher/renovate-config#release" ], "baseBranches": [ - "main" + "main", "release/v0.4", "release/v0.3", "release/v0.2", "release/v0.1" ], "prHourlyLimit": 2 } diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 00000000..9bb2afb9 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,21 @@ +name: Release + +on: + push: + tags: + - v* + +jobs: + release: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name : Checkout repository + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + + - name: Create release on Github + run: | + gh --repo "${{ github.repository }}" release create ${{ github.ref_name }} --verify-tag --generate-notes + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/README.md b/README.md index b4951300..c034e4c3 100644 --- a/README.md +++ b/README.md @@ -813,3 +813,8 @@ Before running the tests, you must run the following command to setup the fake s # current client-go version, as seen in scripts/test.sh export KUBEBUILDER_ASSETS=$(setup-envtest use -p path) ``` + +# Versioning + +See [VERSION.md](VERSION.md). + diff --git a/VERSION.md b/VERSION.md new file mode 100644 index 00000000..56a451fc --- /dev/null +++ b/VERSION.md @@ -0,0 +1,9 @@ +Steve follows a pre-release (v0.x) strategy of semver. There is no compatibility between releases, and new releases are meant to be strictly compatible with a single version of Rancher. The current supported versions of Steve are as follows: + +| Steve Branch | Steve Minor version | Matching Rancher Version | +|--------------------------|------------------------------------|------------------------------------------------| +| main | v0.5 | v2.11 | +| release/v0.4 | v0.4 | v2.10 | +| release/v0.3 | v0.3 | v2.9 | +| release/v0.2 | v0.2 | v2.8 | +| release/v0.1 | v0.1 | v2.7 | \ No newline at end of file