Skip to content

Commit

Permalink
Make goreleaser put bins in /usr/bin metafates#191
Browse files Browse the repository at this point in the history
  • Loading branch information
Telmo committed Dec 6, 2024
1 parent 0b504b9 commit b576d6b
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ builds:
flags:
- -trimpath
ldflags:
- -X 'github.com/metafates/mangal/constant.BuiltAt={{ .Date }}'
- -X 'github.com/metafates/mangal/constant.BuiltBy={{ .Env.USER }}'
- -X 'github.com/metafates/mangal/constant.Revision={{ .ShortCommit }}'
- -X 'github.com/telmo/mangal/constant.BuiltAt={{ .Date }}'
- -X 'github.com/telmo/mangal/constant.BuiltBy={{ .Env.USER }}'
- -X 'github.com/telmo/mangal/constant.Revision={{ .ShortCommit }}'
- -s
- -w

Expand Down Expand Up @@ -80,15 +80,15 @@ dockers:
- goos: linux
goarch: amd64
image_templates:
- "metafates/mangal:latest"
- "telmo/mangal:latest"
skip_push: false
use: docker

brews:
- name: mangal

tap:
owner: metafates
owner: telmo
name: homebrew-mangal
branch: main
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
Expand All @@ -98,7 +98,7 @@ brews:
email: [email protected]

commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
homepage: "https://github.com/metafates/mangal"
homepage: "https://github.com/telmo/mangal"
description: "The ultimate CLI manga downloader!"
license: "MIT"
skip_upload: false
Expand All @@ -114,8 +114,8 @@ brews:
scoop:
bucket:
owner: metafates
name: scoop-metafates
owner: telmo
name: scoop-telmo
branch: main
token: "{{ .Env.SCOOP_TAP_GITHUB_TOKEN }}"

Expand All @@ -126,38 +126,38 @@ scoop:
email: [email protected]

commit_msg_template: "Scoop update for {{ .ProjectName }} version {{ .Tag }}"
homepage: "https://github.com/metafates/mangal"
homepage: "https://github.com/telmo/mangal"
description: "The ultimate CLI manga downloader!"
license: MIT
skip_upload: false


release:
github:
owner: metafates
owner: telmo
name: mangal

name_template: "{{.ProjectName}} v{{.Version}}"
header: |
To install:
```sh
curl -sSL mangal.metafates.one/install | sh
curl -sSL mangal.telmo.one/install | sh
```
## What's new?
footer: |
**Full Changelog**: https://github.com/metafates/mangal/compare/{{ .PreviousTag }}...{{ .Tag }}
**Full Changelog**: https://github.com/telmo/mangal/compare/{{ .PreviousTag }}...{{ .Tag }}
---
Bugs? Suggestions? [Open an issue](https://github.com/metafates/mangal/issues/new/choose)
Bugs? Suggestions? [Open an issue](https://github.com/telmo/mangal/issues/new/choose)
nfpms:
- file_name_template: "{{ .ConventionalFileName }}"
homepage: https://github.com/metafates/mangal
maintainer: metafates <[email protected]>
homepage: https://github.com/telmo/mangal
maintainer: telmo <[email protected]>
description: |-
The most advanced cli manga downloader in the entire universe!
Expand All @@ -166,7 +166,7 @@ nfpms:
- deb
- rpm

bindir: /usr/local/bin
bindir: /usr/bin
section: utils

deb:
Expand Down

0 comments on commit b576d6b

Please sign in to comment.