From f2d9f9b56d2b98ef3b1ba08a46742f5f03f151d9 Mon Sep 17 00:00:00 2001 From: zongz <68977949+zong-zhe@users.noreply.github.com> Date: Thu, 21 Dec 2023 20:01:36 +0800 Subject: [PATCH] chore: bump kcl-go version and kpm version (#232) Signed-off-by: zongz --- go.mod | 4 ++-- go.sum | 8 ++++---- pkg/version/version.go | 5 +++-- pkg/version/version_test.go | 2 +- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/go.mod b/go.mod index 5a3cab22..738612ed 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( github.com/sirupsen/logrus v1.9.0 github.com/urfave/cli/v2 v2.25.0 gotest.tools/v3 v3.4.0 - kcl-lang.io/kcl-go v0.7.0 + kcl-lang.io/kcl-go v0.7.1 ) require ( @@ -91,7 +91,7 @@ require ( google.golang.org/protobuf v1.30.0 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect - kcl-lang.io/kcl-artifact-go v0.7.1 // indirect + kcl-lang.io/lib v0.7.3 // indirect ) require ( diff --git a/go.sum b/go.sum index e5e6d5f6..4d98a4fc 100644 --- a/go.sum +++ b/go.sum @@ -763,10 +763,10 @@ honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWh honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -kcl-lang.io/kcl-artifact-go v0.7.1 h1:tPSJxVKNm3+QseqtyDwtfx9qTeAioyHNYJIUsz7djqU= -kcl-lang.io/kcl-artifact-go v0.7.1/go.mod h1:c07mqi9Hu2UjPW7lYfHhAAWOlZiB7lo7Vkr4jL5ov/M= -kcl-lang.io/kcl-go v0.7.0 h1:mcYpQA+0JvlJ48rGec10GaASsRclJgAY18tz3AjWbEc= -kcl-lang.io/kcl-go v0.7.0/go.mod h1:ZEA8AA/L+vvp68PeBX16aR1Se81hLAWNp+7Qa2cYWdo= +kcl-lang.io/kcl-go v0.7.1 h1:qulSVPT7Kpn68ol35WGABnidhitnC5vGhRsmzEKlnuM= +kcl-lang.io/kcl-go v0.7.1/go.mod h1:byAAoC83Lfk88n33pgADSJAwF6iJcxCl5Z2gbCbKyGw= +kcl-lang.io/lib v0.7.3 h1:YsKBo5jrICQ3fJobywkB9dFfVIW/ixCAkqmYQ5Z2lqQ= +kcl-lang.io/lib v0.7.3/go.mod h1:ubsalGXxJaa5II/EsHmsI/tL2EluYHIcW+BwzQPt+uY= oras.land/oras-go v1.2.3 h1:v8PJl+gEAntI1pJ/LCrDgsuk+1PKVavVEPsYIHFE5uY= oras.land/oras-go v1.2.3/go.mod h1:M/uaPdYklze0Vf3AakfarnpoEckvw0ESbRdN8Z1vdJg= oras.land/oras-go/v2 v2.3.0 h1:lqX1aXdN+DAmDTKjiDyvq85cIaI4RkIKp/PghWlAGIU= diff --git a/pkg/version/version.go b/pkg/version/version.go index d8114a56..367f6bef 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -24,9 +24,10 @@ func (kvt KpmVersionType) String() string { // All the kpm versions. const ( - KpmAbiVersion KpmVersionType = KpmAbiVersion_0_4_4 - KpmVersionType_latest = KpmAbiVersion_0_4_4 + KpmAbiVersion KpmVersionType = KpmAbiVersion_0_4_5 + KpmVersionType_latest = KpmAbiVersion_0_4_5 + KpmAbiVersion_0_4_5 KpmVersionType = "0.4.5" KpmAbiVersion_0_4_4 KpmVersionType = "0.4.4" KpmAbiVersion_0_4_3 KpmVersionType = "0.4.3" KpmAbiVersion_0_4_2 KpmVersionType = "0.4.2" diff --git a/pkg/version/version_test.go b/pkg/version/version_test.go index 21a27404..2dc3370f 100644 --- a/pkg/version/version_test.go +++ b/pkg/version/version_test.go @@ -9,7 +9,7 @@ func TestGetVersionInStr(t *testing.T) { }{ { name: "test get version in string", - want: "0.4.4", + want: "0.4.5", }, } for _, tt := range tests {