Skip to content

Commit

Permalink
Fix Semver Conversion (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
spjmurray authored Oct 18, 2024
1 parent 6753e5e commit f68a744
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/core/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ description: A Helm chart for deploying Unikorn Core

type: application

version: v0.1.76
appVersion: v0.1.76
version: v0.1.77
appVersion: v0.1.77

icon: https://assets.unikorn-cloud.org/images/logos/dark-on-light/icon.svg

Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/unikorn/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (v *SemanticVersion) UnmarshalJSON(b []byte) error {
}

func (v SemanticVersion) MarshalJSON() ([]byte, error) {
return []byte(v.Original()), nil
return json.Marshal(v.Original())
}

func (v SemanticVersion) ToUnstructured() interface{} {
Expand Down

0 comments on commit f68a744

Please sign in to comment.