Skip to content

Commit

Permalink
fix goreleaser configuration, remove deprecated configuration usage
Browse files Browse the repository at this point in the history
  • Loading branch information
paskal committed Nov 2, 2023
1 parent de4f475 commit fe78bc8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
ban

# goreleaser build
dist/

# used in the CI pipeline, prevent goreleaser from seeing a clean git state
golangci-lint
profile.cov
Expand Down
7 changes: 3 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: 1
release:
github:
owner: paskal
Expand All @@ -24,9 +23,9 @@ archives:
- format: tar.gz
name_template: >-
{{- .ProjectName }}_
{{- .Tag }}_
{{- .Version }}_
{{- if eq .Os "darwin" }}macos
{{- else }}{{ title .Os }}{{ end }}
{{- else }}{{ .Os }}{{ end }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
Expand Down Expand Up @@ -55,7 +54,7 @@ nfpms:

brews:
- name: telegram-banhammer
tap:
repository:
owner: paskal
name: telegram-banhammer
description: "A program which uses MTProto Telegram API to ban spammers from a group."
Expand Down

0 comments on commit fe78bc8

Please sign in to comment.