项目文件夹

文件
wehub-resource-sync 607e84665c
spellcheck / spellcheck (push) Successful in 17m28s
Tests / Tests (push) Has been cancelled
golangci-lint / golangci-lint (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:33:05 +08:00

54 行
1.1 KiB
YAML

---
version: 2
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
main: ./cmd/termshot/main.go
flags:
- -trimpath
ldflags:
- -s -w -extldflags "-static" -X github.com/homeport/termshot/internal/cmd.version={{.Version}}
mod_timestamp: '{{ .CommitTimestamp }}'
checksum:
name_template: 'checksums.txt'
snapshot:
version_template: "{{ .Tag }}-next"
release:
name_template: "{{.ProjectName}} release v{{.Version}}"
changelog:
disable: false
use: github
filters:
exclude:
- "Merge pull request"
- "dependabot"
brews:
- repository:
owner: homeport
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
url_template: "https://github.com/homeport/termshot/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
download_strategy: CurlDownloadStrategy
commit_author:
name: GoReleaser Bot
email: goreleaser@carlosbecker.com
directory: HomebrewFormula
homepage: "https://github.com/homeport/termshot"
description: "Creates screenshots based on terminal command output."
license: "MIT"
skip_upload: false
test: |
system "#{bin}/termshot --version"