Skip to content

Commit

Permalink
chore: update version references in component and main files (#14)
Browse files Browse the repository at this point in the history
- Update the version reference in `components/cloud-provider-onmetal/component-descriptor.yaml` from `0.1.5` to `v0.1.5`
- Update the version reference in `components/gardener-extension-provider-onmetal/component-descriptor.yaml` from `0.1.7` to `v0.1.7`
- Update the version reference in `components/machine-controller-manager-provider-onmetal/component-descriptor.yaml` from `0.1.5` to `v0.1.5`
- Update the version reference in `components/onmetal-csi-driver/component-descriptor.yaml` from `0.1.5` to `v0.1.5`
- Update the version reference in `ocm-updater/main.go` from `refs/tags/%s` to `refs/tags/v%s`

Signed-off-by: Andreas Fritzler <[email protected]>
  • Loading branch information
afritzler authored Jul 25, 2023
1 parent facceef commit e32779a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions components/cloud-provider-onmetal/component-descriptor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ component:
resources: []
sources:
- access:
ref: refs/tags/0.1.5
ref: refs/tags/v0.1.5
repoUrl: github.com/onmetal/cloud-provider-onmetal
type: github
labels:
Expand All @@ -17,7 +17,7 @@ component:
repository-classification: main
name: github_com_onmetal_cloud_provider_onmetal
type: git
version: 0.1.5
version: 0.1.5
version: v0.1.5
version: v0.1.5
meta:
schemaVersion: v2
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ component:
resources: []
sources:
- access:
ref: refs/tags/0.1.7
ref: refs/tags/v0.1.7
repoUrl: github.com/onmetal/gardener-extension-provider-onmetal
type: github
labels:
Expand All @@ -17,7 +17,7 @@ component:
repository-classification: main
name: github_com_onmetal_gardener_extension_provider_onmetal
type: git
version: 0.1.7
version: 0.1.7
version: v0.1.7
version: v0.1.7
meta:
schemaVersion: v2
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ component:
resources: []
sources:
- access:
ref: refs/tags/0.1.5
ref: refs/tags/v0.1.5
repoUrl: github.com/onmetal/machine-controller-manager-provider-onmetal
type: github
labels:
Expand All @@ -17,7 +17,7 @@ component:
repository-classification: main
name: github_com_onmetal_machine_controller_manager_provider_onmetal
type: git
version: 0.1.5
version: 0.1.5
version: v0.1.5
version: v0.1.5
meta:
schemaVersion: v2
6 changes: 3 additions & 3 deletions components/onmetal-csi-driver/component-descriptor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ component:
resources: []
sources:
- access:
ref: refs/tags/0.1.5
ref: refs/tags/v0.1.5
repoUrl: github.com/onmetal/onmetal-csi-driver
type: github
labels:
Expand All @@ -17,7 +17,7 @@ component:
repository-classification: main
name: github_com_onmetal_onmetal_csi_driver
type: git
version: 0.1.5
version: 0.1.5
version: v0.1.5
version: v0.1.5
meta:
schemaVersion: v2
2 changes: 1 addition & 1 deletion ocm-updater/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func updateComponentDescriptor(ctx context.Context, log logr.Logger, gitResolver
log.Info("Found new version")
}
s.Version = latest
access.Ref = fmt.Sprintf("refs/tags/%s", latest)
access.Ref = fmt.Sprintf("refs/tags/v%s", latest)
newAccess, err := v2.NewUnstructured(access)
if err != nil {
return nil, fmt.Errorf("failed to create new unstructured access object: %w", err)
Expand Down

0 comments on commit e32779a

Please sign in to comment.