Skip to content
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
6 changes: 3 additions & 3 deletions docs/releasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This document describes how to create a new release of the Cluster API Provider

Releases follow [Semantic Versioning](https://semver.org/). The current release series is defined in `metadata.yaml`:

- **0.1.x** — initial release series with `v1beta2` API contract
- **1.0.x** — initial stable release series with `v1beta2` API contract

When introducing a new API version or breaking changes, add a new release series to `metadata.yaml`.

Expand All @@ -25,8 +25,8 @@ When introducing a new API version or breaking changes, add a new release series
```bash
git checkout main
git pull origin main
git tag -a v0.1.0 -m "Release v0.1.0"
git push origin v0.1.0
git tag -a v1.0.0 -m "Release v1.0.0"
git push origin v1.0.0
```

4. **The release workflow runs automatically**
Expand Down
4 changes: 2 additions & 2 deletions metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
apiVersion: clusterctl.cluster.x-k8s.io/v1alpha3
kind: Metadata
releaseSeries:
- major: 0
minor: 1
- major: 1
minor: 0
contract: v1beta2
2 changes: 1 addition & 1 deletion test/e2e/config/cloudscale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ providers:
- name: cloudscale-ch-cloudscale
type: InfrastructureProvider
versions:
- name: v0.99.99 # dev version, always higher than any release
- name: v1.99.99 # dev version, always higher than any release
value: ../../../config/e2e
type: kustomize
contract: v1beta2
Expand Down
6 changes: 3 additions & 3 deletions test/e2e/data/infrastructure-cloudscale/main/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
apiVersion: clusterctl.cluster.x-k8s.io/v1alpha3
kind: Metadata
releaseSeries:
- major: 0
minor: 1
- major: 1
minor: 0
contract: v1beta2
- major: 0
- major: 1
minor: 99
contract: v1beta2
2 changes: 1 addition & 1 deletion tilt-provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ config:
label: CAPCS
live_reload_deps: ["cmd", "go.mod", "go.sum", "api", "internal"]
go_main: cmd/main.go
version: v0.99.99
version: v1.99.99