Skip to content

Commit edf3fed

Browse files
committed
refactor: update golangci and goreleaser configurations by removing unused completion scripts
1 parent 887cc9c commit edf3fed

File tree

2 files changed

+1
-18
lines changed

2 files changed

+1
-18
lines changed

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
run:
22
timeout: 5m
3-
issues-exit-code: 0 # Don't fail on issues
3+
issues-exit-code: 0
44
tests: true
55

66
output:

.goreleaser.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,6 @@ brews:
138138
install: |
139139
bin.install "gh-notif"
140140
man1.install Dir["docs/man/*.1"]
141-
bash_completion.install "completions/gh-notif.bash" => "gh-notif"
142-
zsh_completion.install "completions/gh-notif.zsh" => "_gh-notif"
143-
fish_completion.install "completions/gh-notif.fish"
144141
145142
scoops:
146143
- name: gh-notif
@@ -178,18 +175,6 @@ nfpms:
178175
dst: /usr/share/man/man1/
179176
file_info:
180177
mode: 0644
181-
- src: ./completions/gh-notif.bash
182-
dst: /usr/share/bash-completion/completions/gh-notif
183-
file_info:
184-
mode: 0644
185-
- src: ./completions/gh-notif.zsh
186-
dst: /usr/share/zsh/site-functions/_gh-notif
187-
file_info:
188-
mode: 0644
189-
- src: ./completions/gh-notif.fish
190-
dst: /usr/share/fish/completions/gh-notif.fish
191-
file_info:
192-
mode: 0644
193178

194179
snapcrafts:
195180
- name: gh-notif
@@ -224,7 +209,6 @@ dockers:
224209
- "--platform=linux/amd64"
225210
extra_files:
226211
- docs/
227-
- completions/
228212
- image_templates:
229213
- "ghcr.io/sharanrp/gh-notif:{{ .Tag }}-arm64"
230214
- "ghcr.io/sharanrp/gh-notif:latest-arm64"
@@ -241,7 +225,6 @@ dockers:
241225
goarch: arm64
242226
extra_files:
243227
- docs/
244-
- completions/
245228

246229
docker_manifests:
247230
- name_template: "ghcr.io/sharanrp/gh-notif:{{ .Tag }}"

0 commit comments

Comments
 (0)