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..f671538f --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,22 @@ +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 }} + diff --git a/README.md b/README.md index 3ab28f91..a980e559 100644 --- a/README.md +++ b/README.md @@ -21,3 +21,7 @@ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + +# Versioning + +See [VERSION.md](VERSION.md). diff --git a/VERSION.md b/VERSION.md new file mode 100644 index 00000000..963902eb --- /dev/null +++ b/VERSION.md @@ -0,0 +1,11 @@ +Norman 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 Norman are as follows: + +The current supported release lines are: + +| Norman Branch | Norman 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 |