Skip to content

Commit

Permalink
build: fix nix and winget integration
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Dec 20, 2023
1 parent da231d7 commit 8fe907e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: release
on:
push:
tags:
- 'v*'
- "v*"

permissions:
contents: write
Expand Down Expand Up @@ -38,6 +38,9 @@ jobs:
- uses: anchore/sbom-action/[email protected]
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: cachix/install-nix-action@v24
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- run: task setup
- run: task build
- uses: docker/login-action@v3
Expand Down
9 changes: 4 additions & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ docker_manifests:
- "ghcr.io/goreleaser/nfpm:{{ .Tag }}-arm64v8"

archives:
- rlcp: true
name_template: >-
- name_template: >-
{{ .ProjectName }}_
{{- .Version }}_
{{- title .Os }}_
Expand All @@ -95,7 +94,7 @@ archives:
- manpages/*
brews:
- tap:
- repository:
owner: goreleaser
name: homebrew-tap
folder: Formula
Expand All @@ -112,7 +111,7 @@ brews:
man1.install "manpages/nfpm.1.gz"
scoops:
- bucket:
- repository:
owner: goreleaser
name: scoop-bucket
homepage: https://nfpm.goreleaser.com
Expand All @@ -139,7 +138,7 @@ winget:
license: Copyright Becker Software LTDA
copyright: Becker Software LTDA
homepage: https://nfpm.goreleaser.com
description: nFPM is a simple, 0-dependencies, deb, rpm and apk packager.
short_description: nFPM is a simple, 0-dependencies, deb, rpm and apk packager.
repository:
owner: goreleaser
name: winget-pkgs
Expand Down

0 comments on commit 8fe907e

Please sign in to comment.