Skip to content

Commit

Permalink
create both deb and rpm files when releasing (#901)
Browse files Browse the repository at this point in the history
* create both deb and rpm files when releasing

* change homepage

* commit

* revert last commit

* add name template to nfpms

 tested on https://github.com/ConduitIO/conduit-maha/releases/tag/v0.5.1
  • Loading branch information
maha-hajja authored Feb 24, 2023
1 parent cd45646 commit 7a8181b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,19 @@ release:
```
docker pull ghcr.io/conduitio/conduit:{{ .Tag }}
```
nfpms:
- license: Apache-2.0
maintainer: Conduit Developers <[email protected]>
homepage: https://conduit.io/
description: "Conduit streams data between data stores. Kafka Connect replacement. No JVM required."
section: utils
formats:
- rpm
- deb
file_name_template: >-
{{ .ProjectName }}_
{{- .Version }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}

0 comments on commit 7a8181b

Please sign in to comment.