Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add winget package manager to goreleaser config #548

Merged
merged 4 commits into from
Oct 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: 1.21

- name: Check out code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gen-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: 1.21

- name: Batch and merge
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: 1.21

- name: Login to GitHub Container Registry
uses: docker/[email protected]
Expand All @@ -34,7 +34,7 @@ jobs:
uses: goreleaser/[email protected]
with:
version: latest
args: --rm-dist --release-notes=${{ env.RELEASE_NOTES_PATH }} --skip-validate --debug
args: --clean --release-notes=${{ env.RELEASE_NOTES_PATH }} --skip=validate --verbose
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
38 changes: 28 additions & 10 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
- go mod download
builds:
- env:
Expand Down Expand Up @@ -30,21 +30,39 @@ nfpms:
- deb
- rpm
brews:
- tap:
- repository:
owner: miniscruff
name: changie
homepage: https://changie.dev
description: Automated changelog tool for preparing releases with lots of customization options.
license: MIT
skip_upload: auto
scoop:
bucket:
owner: miniscruff
name: changie
commit_msg_template: "Scoop update for {{ .ProjectName }} version {{ .Tag }}"
homepage: https://changie.dev
description: Automated changelog tool for preparing releases with lots of customization options.
license: MIT
scoops:
- repository:
owner: miniscruff
name: changie
commit_msg_template: "Scoop update for {{ .ProjectName }} version {{ .Tag }}"
homepage: https://changie.dev
description: Automated changelog tool for preparing releases with lots of customization options.
license: MIT
winget:
- publisher: miniscruff
license: MIT
homepage: https://changie.dev
publisher_support_url: https://github.com/miniscruff/changie/issues/new
short_description: Automated changelog tool for preparing releases with lots of customization options.
release_notes: "{{.Changelog}}"
repository:
owner: miniscruff
name: winget-pkgs
branch: "changie-{{.Version}}"
pull_request:
enabled: true
draft: true
base:
owner: microsoft
name: winget-pkgs
branch: master
dockers:
- goos: linux
goarch: amd64
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/miniscruff/changie

go 1.20
go 1.21

require (
github.com/Masterminds/semver/v3 v3.2.1
Expand Down