Skip to content

Commit

Permalink
fix: update goreleaser configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
theseion committed Sep 15, 2023
1 parent 0583573 commit f9353bf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
with:
version: latest
args: release --rm-dist
args: release --clean
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

22 changes: 12 additions & 10 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,19 +71,21 @@ nfpms:
- deb
- rpm
bindir: /usr/bin
overrides:
rpm:
replacements:
amd64: x86_64
file_name_template: "{{ .ProjectName }}-{{ .Version }}.{{ .Arch }}"
deb:
file_name_template: "{{ .ProjectName }}-{{ .Version }}_{{ .Arch }}"
vendor:
file_name_template: '{{ .ConventionalFileName }}'
vendor: OWASP Core Rule Set Project
homepage: https://github.com/coreruleset/crs-toolchain
maintainer: th3s3ion@gmail.com
maintainer: maxleske@gmail.com
description:
CRS ToolChain helper

license: APL2


announce:
slack:
enabled: true
message_template: >
{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}
channel: '#coreruleset-notify'
username: 'Releaser'
icon_emoji: ':new:'
attachments: []

0 comments on commit f9353bf

Please sign in to comment.