| |
| builds: |
| - main: ./main.go |
| binary: cursor2api-go |
| goos: |
| - windows |
| - darwin |
| - linux |
| goarch: |
| - amd64 |
| - arm64 |
| env: |
| - CGO_ENABLED=0 |
| ldflags: |
| - -s -w |
| - -X main.version={{.Version}} |
| - -X main.commit={{.Commit}} |
| - -X main.date={{.Date}} |
|
|
| |
| archives: |
| - name_template: >- |
| {{ .ProjectName }}_ |
| {{- title .Os }}_ |
| {{- if eq .Arch "amd64" }}x86_64 |
| {{- else if eq .Arch "386" }}i386 |
| {{- else }}{{ .Arch }}{{ end }} |
| {{- if .Arm }}v{{ .Arm }}{{ end }} |
| format: tar.gz |
| format_overrides: |
| - goos: windows |
| format: zip |
|
|
| |
| checksum: |
| name_template: 'checksums.txt' |
| algorithm: sha256 |
|
|
| |
| changelog: |
| sort: asc |
| filters: |
| exclude: |
| - '^docs:' |
| - '^test:' |
|
|
| |
| release: |
| name_template: "{{.ProjectName}}-v{{.Version}}" |
| github: |
| owner: "{{ .Env.GITHUB_REPOSITORY_OWNER }}" |
| name: "{{ .Env.GITHUB_REPOSITORY_NAME }}" |
|
|
| |
| github_urls: |
| api: https://api.github.com/ |
| upload: https://uploads.github.com/ |
| download: https://github.com/ |