Skip to content

Commit

Permalink
Create release on tag push (#526)
Browse files Browse the repository at this point in the history
* Add versioning to renovate and VERSION.md

* Add release GHA
  • Loading branch information
tomleb authored Nov 15, 2024
1 parent 78a520c commit 6fe644a
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
22 changes: 22 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -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 }}

4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
11 changes: 11 additions & 0 deletions VERSION.md
Original file line number Diff line number Diff line change
@@ -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 |

0 comments on commit 6fe644a

Please sign in to comment.