您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

.goreleaser.yml 686B

123456789101112131415161718192021222324252627282930313233
  1. project_name: chroma
  2. release:
  3. github:
  4. owner: alecthomas
  5. name: chroma
  6. brews:
  7. -
  8. install: bin.install "chroma"
  9. builds:
  10. - goos:
  11. - linux
  12. - darwin
  13. - windows
  14. goarch:
  15. - amd64
  16. - "386"
  17. goarm:
  18. - "6"
  19. main: ./cmd/chroma/main.go
  20. ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
  21. binary: chroma
  22. archives:
  23. -
  24. format: tar.gz
  25. name_template: '{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{
  26. .Arm }}{{ end }}'
  27. files:
  28. - COPYING
  29. - README*
  30. snapshot:
  31. name_template: SNAPSHOT-{{ .Commit }}
  32. checksum:
  33. name_template: '{{ .ProjectName }}-{{ .Version }}-checksums.txt'