Files
ascii-image-converter/.goreleaser.yml
2021-09-11 02:16:17 +05:00

115 lines
2.2 KiB
YAML

project_name: ascii-image-converter
before:
hooks:
- go mod tidy
builds:
-
goos:
- linux
- windows
- darwin
goarch:
# Architectures for executable binary generation
- amd64
- arm64
- arm
- 386
# # Specifying all architectures for .deb and .rpm generation
# - 386
# - amd64
# - arm
# - arm64
# - ppc64
# - ppc64le
# - mips
# - mipsle
# - mips64
# - mips64le
archives:
-
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
wrap_in_directory: true
format_overrides:
- goos: windows
format: zip
files:
- LICENSE.txt
- README.md
replacements:
linux: Linux
windows: Windows
darwin: macOS
amd64: amd64_64bit
arm64: arm64_64bit
386: i386_32bit
arm: armv6_32bit
checksum:
name_template: 'sha256_checksums.txt'
algorithm: sha256
snapshot:
name_template: "{{ .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
brews:
-
name: ascii-image-converter
tap:
owner: TheZoraiz
name: homebrew-ascii-image-converter
url_template: https://github.com/TheZoraiz/ascii-image-converter/releases/download/{{ .Tag }}/{{ .ArtifactName }}
commit_author:
name: Zoraiz Hassan
email: hzoraiz8@gmail.com
homepage: https://github.com/TheZoraiz/ascii-image-converter
description: Convert images into ascii art
license: Apache 2.0
skip_upload: true
test: |
system "#{bin}/ascii-image-converter --version"
install: |
bin.install "ascii-image-converter"
nfpms:
-
package_name: ascii-image-converter
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}"
homepage: https://github.com/TheZoraiz/ascii-image-converter
vendor: Zoraiz Hassan
maintainer: Zoraiz Hassan <hzoraiz8@gmail.com>
description: Convert images into ascii art
license: Apache 2.0
formats:
- deb
- rpm
release: 1
section: graphics
priority: optional
bindir: /usr/bin
rpm:
compression: lzma