lure/.goreleaser.yaml

87 lines
2.1 KiB
YAML
Raw Normal View History

2022-09-28 23:47:37 +00:00
before:
hooks:
- go mod tidy
- go generate
2022-09-28 23:47:37 +00:00
builds:
- id: lure
env:
- CGO_ENABLED=0
binary: lure
goos:
- linux
goarch:
- amd64
2022-12-24 22:09:41 +00:00
- 386
2022-09-28 23:47:37 +00:00
- arm64
2022-12-24 22:09:41 +00:00
- arm
2022-09-28 23:47:37 +00:00
- riscv64
archives:
- replacements:
386: i386
amd64: x86_64
arm64: aarch64
2023-01-02 04:23:23 +00:00
files:
- scripts/completion/*
2022-09-28 23:47:37 +00:00
nfpms:
- id: lure
package_name: linux-user-repository
2022-09-28 23:47:37 +00:00
file_name_template: '{{.PackageName}}-{{.Version}}-{{.Os}}-{{.Arch}}'
description: "Linux User REpository"
replacements:
386: i386
amd64: x86_64
arm64: aarch64
homepage: 'https://gitea.arsenm.dev/Arsen6331/lure'
maintainer: 'Arsen Musayelyan <arsen@arsenm.dev>'
2022-09-28 23:47:37 +00:00
license: GPLv3
formats:
- apk
- deb
- rpm
2022-11-27 19:59:23 +00:00
- archlinux
provides:
2023-02-01 20:00:37 +00:00
- linux-user-repository
conflicts:
2023-02-01 20:00:37 +00:00
- linux-user-repository
contents:
- src: scripts/completion/bash
dst: /usr/share/bash-completion/completions/lure
- src: scripts/completion/zsh
dst: /usr/share/zsh/site-functions/_lure
2022-09-28 23:47:37 +00:00
aurs:
2023-01-31 22:16:01 +00:00
- name: linux-user-repository-bin
2022-09-28 23:47:37 +00:00
homepage: 'https://gitea.arsenm.dev/Arsen6331/lure'
description: "Linux User REpository"
maintainers:
- 'Arsen Musayelyan <arsen@arsenm.dev>'
2022-09-28 23:47:37 +00:00
license: GPLv3
private_key: '{{ .Env.AUR_KEY }}'
2023-02-01 20:10:19 +00:00
git_url: 'ssh://aur@aur.archlinux.org/linux-user-repository-bin.git'
2022-09-28 23:47:37 +00:00
provides:
2023-01-31 22:17:35 +00:00
- linux-user-repository
2022-09-28 23:47:37 +00:00
conflicts:
2023-01-31 22:17:35 +00:00
- linux-user-repository
2022-09-28 23:47:37 +00:00
depends:
- sudo
- pacman
package: |-
# binaries
install -Dm755 ./lure "${pkgdir}/usr/bin/lure"
# completions
2023-01-02 04:30:53 +00:00
install -Dm755 ./scripts/completion/bash ${pkgdir}/usr/share/bash-completion/completions/lure
install -Dm755 ./scripts/completion/zsh ${pkgdir}/usr/share/zsh/site-functions/_lure
2022-09-28 23:47:37 +00:00
release:
gitea:
owner: Arsen6331
name: lure
gitea_urls:
api: 'https://gitea.arsenm.dev/api/v1/'
download: 'https://gitea.arsenm.dev'
skip_tls_verify: false
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc