Skip to content

Commit

Permalink
version info
Browse files Browse the repository at this point in the history
  • Loading branch information
howieyuen committed Jan 9, 2023
1 parent 331a4b2 commit ff02429
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
- go generate ./pkg/version
builds:
- id: default
env:
Expand Down Expand Up @@ -49,7 +48,7 @@ release:
owner: KusionStack
name: kusion
draft: false
footer: |
header: |
## Docker Images
* `kusionstack/kusion:{{ .Env.KUSION_VERSION }}`
Expand Down
26 changes: 26 additions & 0 deletions pkg/version/version.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// Auto generated by 'go run gen.go', DO NOT EDIT.

package version

func init() {
info = &Info{
ReleaseVersion: "v0.7.3",
GitInfo: &GitInfo{
LatestTag: "v0.7.3",
Commit: "785fcd04b306741497f2c0fe7a18db3f1b46ac2d",
TreeState: "clean",
},
BuildInfo: &BuildInfo{
GoVersion: "go1.19.3",
GOOS: "darwin",
GOARCH: "amd64",
NumCPU: 12,
Compiler: "gc",
BuildTime: "2023-01-09 11:33:24",
},
Dependency: &DependencyVersion{
KclvmgoVersion: "v0.4.4-beta.2",
KclPluginVersion: "v0.4.1-alpha2",
},
}
}

0 comments on commit ff02429

Please sign in to comment.