rimgo/.goreleaser.yaml

53 lines
1.2 KiB
YAML
Raw Normal View History

2023-08-14 17:56:57 +00:00
before:
hooks:
- tailwindcss -i static/tailwind.css -o static/app.css -m
- go mod tidy
project_name: rimgo
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
ldflags:
- -X codeberg.org/rimgo/rimgo/pages.VersionInfo={{.Version}}
archives:
- format: tar.gz
name_template: >-
{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}{{- if .Arm }}v{{ .Arm }}{{ end }}
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
kos:
2023-08-14 18:13:19 +00:00
- repository: codeberg.org/rimgo/rimgo
2023-08-14 17:56:57 +00:00
tags:
- '{{.Version}}'
- latest
bare: true
preserve_import_paths: false
platforms:
- linux/amd64
- linux/arm64
2023-08-14 18:13:19 +00:00
sbom: none
2023-08-14 18:03:51 +00:00
gitea_urls:
api: https://codeberg.org/api/v1
download: https://codeberg.org
2023-08-14 17:56:57 +00:00
release:
gitea:
owner: rimgo
name: rimgo
name_template: "{{.ProjectName}} v{{.Version}}"
disable: false
mode: append
# The lines beneath this are called `modelines`. See `:help modeline`
# Feel free to remove those if you don't want/use them.
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj