Skip to content

Commit 13fd7d0

Browse files
committed
Merge pull request 'fix: update deb and rpm package name format as per guidlines' (#189) from fix_package_name into main
Reviewed-on: https://gitea.obmondo.com/EnableIT/Linuxaid-cli/pulls/189
2 parents b0b3263 + b90840d commit 13fd7d0

1 file changed

Lines changed: 6 additions & 10 deletions

File tree

.goreleaser-gitea.yaml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ nfpms:
8181
- linuxaid-cli
8282
file_name_template: >-
8383
{{- .PackageName }}_
84-
{{- .Tag }}_
85-
{{- .Os }}_
84+
{{- .Version }}_
8685
{{- .Arch }}
8786
{{- .ConventionalExtension }}
8887
vendor: Obmondo
@@ -103,8 +102,7 @@ nfpms:
103102
- linuxaid-install
104103
file_name_template: >-
105104
{{- .PackageName }}_
106-
{{- .Tag }}_
107-
{{- .Os }}_
105+
{{- .Version }}_
108106
{{- .Arch }}
109107
{{- .ConventionalExtension }}
110108
vendor: Obmondo
@@ -126,9 +124,8 @@ nfpms:
126124
- linuxaid-cli
127125
file_name_template: >-
128126
{{- .PackageName }}-
129-
{{- .Tag }}-
130-
{{- .Release }}-
131-
{{- .Os }}-
127+
{{- .Version }}-
128+
{{- .Release }}.
132129
{{- if eq .Arch "amd64" }}x86_64{{ else if eq .Arch "arm64" }}aarch64{{ else }}{{ .Arch }}{{ end }}
133130
{{- .ConventionalExtension }}
134131
vendor: Obmondo
@@ -150,9 +147,8 @@ nfpms:
150147
- linuxaid-install
151148
file_name_template: >-
152149
{{- .PackageName }}-
153-
{{- .Tag }}-
154-
{{- .Release }}-
155-
{{- .Os }}-
150+
{{- .Version }}-
151+
{{- .Release }}.
156152
{{- if eq .Arch "amd64" }}x86_64{{ else if eq .Arch "arm64" }}aarch64{{ else }}{{ .Arch }}{{ end }}
157153
{{- .ConventionalExtension }}
158154
vendor: Obmondo

0 commit comments

Comments
 (0)