diff --git a/go.mod b/go.mod index 87adf728..5a3cab22 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-beta.1.0.20231130071901-a0ae3a253d62 + kcl-lang.io/kcl-go v0.7.0 ) 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.0-beta.2 // indirect + kcl-lang.io/kcl-artifact-go v0.7.1 // indirect ) require ( diff --git a/go.sum b/go.sum index d50ab880..e5e6d5f6 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.0-beta.2 h1:7L5qbEqD8y672XNTk2snv8/UXScABFdM3g9Bu2Ama1Q= -kcl-lang.io/kcl-artifact-go v0.7.0-beta.2/go.mod h1:c07mqi9Hu2UjPW7lYfHhAAWOlZiB7lo7Vkr4jL5ov/M= -kcl-lang.io/kcl-go v0.7.0-beta.1.0.20231130071901-a0ae3a253d62 h1:6FQgAZyAMXUUNEF9pY/LC+doA6I2A0Pwv5iR294Hw+s= -kcl-lang.io/kcl-go v0.7.0-beta.1.0.20231130071901-a0ae3a253d62/go.mod h1:dxF3hghkxoJKOkBrXwrqc8nRT0HylrOvsI83FxdQT6M= +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= 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 75b49069..900ef479 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_2 - KpmVersionType_latest = KpmAbiVersion_0_4_2 + KpmAbiVersion KpmVersionType = KpmAbiVersion_0_4_3 + KpmVersionType_latest = KpmAbiVersion_0_4_3 + KpmAbiVersion_0_4_3 KpmVersionType = "0.4.3" KpmAbiVersion_0_4_2 KpmVersionType = "0.4.2" KpmAbiVersion_0_4_1 KpmVersionType = "0.4.1" KpmAbiVersion_0_4_0 KpmVersionType = "0.4.0" diff --git a/pkg/version/version_test.go b/pkg/version/version_test.go index cfd668e4..9957d42b 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.2", + want: "0.4.3", }, } for _, tt := range tests {