Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/v0.1] Implement versioning ADR #127

Merged
merged 3 commits into from
Jan 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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": [
"master"
"main", "release/v0.1"
],
"prHourlyLimit": 2
}
25 changes: 25 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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
env:
GH_TOKEN: ${{ github.token }}
run: |
if [[ "${{ github.ref_name }}" == *-rc* ]]; then
gh --repo "${{ github.repository }}" release create ${{ github.ref_name }} --verify-tag --generate-notes --prerelease
else
gh --repo "${{ github.repository }}" release create ${{ github.ref_name }} --verify-tag --generate-notes
fi
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,3 +200,7 @@ The following resources were helpful in writing these docs. They are highly reco
2. https://docs.bitnami.com/tutorials/a-deep-dive-into-kubernetes-controllers/
3. https://aly.arriqaaq.com/kubernetes-informers/
4. https://github.com/kubernetes/sample-controller/blob/master/docs/controller-client-go.md


# Versioning
See [VERSION.md](VERSION.md).
8 changes: 8 additions & 0 deletions VERSION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Lasso 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 wrangler. The current supported versions of lasso are as follows:

The current supported release lines are:

| Lasso Branch | Lasso Minor version | Matching Wrangler Version |
|--------------------------|------------------------------------|------------------------------------------------|
| main | v0.2 | v3 |
| release/v0.1 | v0.1 | v2 |