Skip to content

Commit

Permalink
Update goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Dec 7, 2021
1 parent dcc2053 commit ed70d17
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
with:
distribution: goreleaser
version: latest
args: release --rm-dist
args: release --rm-dist --skip-sign
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
59 changes: 54 additions & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,66 @@ builds:
- "6"
- "7"

archives:
- id: default
builds:
- soft-serve
format_overrides:
- goos: windows
format: zip
replacements:
windows: Windows
darwin: Darwin
386: i386
amd64: x86_64

nfpms:
- builds:
- soft-serve

vendor: charmbracelet
homepage: "https://charm.sh/"
maintainer: "Christian Rocha <[email protected]>"
description: "A personal key value store"
license: MIT
formats:
- apk
- deb
- rpm
bindir: /usr/bin

brews:
- goarm: 6
tap:
owner: charmbracelet
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
commit_author:
name: "Christian Rocha"
email: "[email protected]"
homepage: "https://charm.sh/"
description: "A personal key value store"

signs:
- artifacts: checksum

checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"

release:
footer: |
* * *
Thoughts? Questions? We love hearing from you. Feel free to reach out on [Twitter](https://twitter.com/charmcli) or [The Fediverse](https://mastodon.technology/@charm).
<a href="https://charm.sh/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-badge-unrounded.jpg" width="400"></a>
changelog:
use: git

dockers:
- image_templates:
- "docker.io/charmcli/soft-serve:latest-amd64"
Expand Down

0 comments on commit ed70d17

Please sign in to comment.