Skip to content

Commit

Permalink
Merge pull request #29 from paskal/remote_unused_section
Browse files Browse the repository at this point in the history
Remove deprecated golangci.yml section
  • Loading branch information
umputun authored Jul 30, 2024
2 parents 6e6af46 + 07852d0 commit f833d25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
3 changes: 0 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,3 @@ issues:
- gosec
- dupl
exclude-use-default: false

service:
golangci-lint-version: 1.39.x
11 changes: 2 additions & 9 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ builds:

archives:
- name_template: "{{.ProjectName}}_{{.Tag}}_{{.Os}}_{{.Arch}}"
replacements:
386: i386
amd64: x86_64
darwin: macos
format_overrides:
- goos: windows
format: zip
Expand All @@ -31,8 +27,7 @@ archives:
- README.md

nfpms:
-
id: updater
- id: updater
package_name: updater
file_name_template: "{{.ProjectName}}_{{.Tag}}_{{.Os}}_{{.Arch}}"
vendor: Umputun
Expand All @@ -49,11 +44,9 @@ nfpms:
contents:
- src: updater.service
dst: /etc/systemd/system/updater.service

- src: updater.yml
dst: /etc/updater-example.yml
type: config

scripts:
postinstall: "scripts/postinstall.sh"
preremove: "scripts/preremove.sh"
preremove: "scripts/preremove.sh"

0 comments on commit f833d25

Please sign in to comment.