Skip to content

Commit

Permalink
dev: publish snap
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Nov 14, 2024
1 parent 5d5f373 commit 999c182
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,5 @@ jobs:
args: release --clean --timeout=90m
env:
CHOCOLATEY_API_KEY: ${{ secrets.CHOCOLATEY_API_KEY }}
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
GITHUB_TOKEN: ${{ secrets.GOLANGCI_LINT_TOKEN }}
14 changes: 13 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,25 @@ chocolateys:
summary: Fast linters Runner for Go
description: |
{{ .ProjectName }} installer package.
Fast linters Runner for Go .
Fast linters Runner for Go.
release_notes: "https://github.com/golangci/golangci-lint/releases/tag/v{{ .Version }}"
api_key: "{{ .Env.CHOCOLATEY_API_KEY }}"
source_repo: "https://push.chocolatey.org/"
skip_publish: false
goamd64: v1

snapcrafts:
- name_template: "{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
grade: stable
confinement: classic
license: GPL-3.0
base: core22
summary: Fast linters runner for Go.
description: |
It runs linters in parallel, uses caching, supports YAML configuration, integrates with all major IDEs, and includes over a hundred linters.
disable: false
publish: true

nfpms:
-
id: golangci-lint-nfpms
Expand Down

0 comments on commit 999c182

Please sign in to comment.