Skip to content

Commit

Permalink
build(goreleaser): update config (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
DeadNews authored Jan 24, 2024
1 parent 83b98a4 commit b85c149
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,15 @@ builds:

release:
prerelease: auto

changelog:
sort: asc

nfpms:
- id: "{{ .ProjectName }}"
description: Go Project Template
homepage: https://github.com/DeadNews/{{ .ProjectName }}
maintainer: DeadNews <aurczpbgr@mozmail.com>
formats:
- deb
bindir: /usr/bin
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ run:
build:
go build -o ./dist/ ./...

goreleaser:
goreleaser --clean --snapshot --skip=publish

pc-install:
pre-commit install

Expand Down

0 comments on commit b85c149

Please sign in to comment.