generated from meshery/meshery
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Eti Ijeoma <ijayeti@gmail.com>
- Loading branch information
Showing
1 changed file
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
project_name: kanvas-snapshot | ||
|
||
before: | ||
hooks: | ||
- go mod tidy | ||
|
||
builds: | ||
- main: ./main.go | ||
|
||
env: | ||
- CGO_ENABLED=0 | ||
|
||
ldflags: | ||
- -s -w | ||
- -X main.MesheryCloudApiCookie={{.Env.MESHERY_CLOUD_API_COOKIE}} | ||
- -X main.MesheryApiCookie={{.Env.MESHERY_API_COOKIE}} | ||
- -X main.MesheryCloudApiBaseUrl={{.Env.MESHERY_CLOUD_API_BASE_URL}} | ||
- -X main.MesheryApiBaseUrl={{.Env.MESHERY_API_BASE_URL}} | ||
- -X main.SystemID={{.Env.SYSTEM_ID}} | ||
|
||
goos: | ||
- darwin | ||
- linux | ||
- windows | ||
|
||
goarch: | ||
- 386 | ||
- amd64 | ||
- arm | ||
- arm64 | ||
|
||
ignore: | ||
- goos: windows | ||
goarch: arm | ||
- goos: windows | ||
goarch: arm64 | ||
|
||
archives: | ||
- id: stable | ||
name_template: >- | ||
{{ .ProjectName }}_{{.Version}}_ | ||
{{- title .Os }}_ | ||
{{- if eq .Arch "amd64" }}x86_64 | ||
{{- else if eq .Arch "386" }}i386 | ||
{{- else }}{{ .Arch }}{{ end }} | ||
format: tar.gz | ||
format_overrides: | ||
- goos: windows | ||
format: zip | ||
|
||
checksum: | ||
name_template: 'checksums.txt' | ||
|
||
snapshot: | ||
name_template: "{{ .Tag }}-next" | ||
|
||
changelog: | ||
sort: asc | ||
filters: | ||
exclude: | ||
- '^docs:' | ||
- '^test:' | ||
|
||
release: | ||
name_template: "Kanvas Snapshot {{.Tag}}" |