1
0
mirror of https://github.com/go-task/task.git synced 2025-08-08 22:36:57 +02:00

fix(goreleaser): fix automatic submission of winget pr

This commit is contained in:
Andrey Nering
2025-07-28 21:35:23 -03:00
parent 72991d4f04
commit e72c35f79f

View File

@ -36,7 +36,7 @@ gomod:
proxy: true proxy: true
archives: archives:
- name_template: "{{.Binary}}_{{.Os}}_{{.Arch}}" - name_template: '{{.Binary}}_{{.Os}}_{{.Arch}}'
files: files:
- README.md - README.md
- LICENSE - LICENSE
@ -49,10 +49,10 @@ release:
draft: true draft: true
snapshot: snapshot:
version_template: "{{.Version}}" version_template: '{{.Version}}'
checksum: checksum:
name_template: "task_checksums.txt" name_template: 'task_checksums.txt'
nfpms: nfpms:
- vendor: Task - vendor: Task
@ -66,7 +66,7 @@ nfpms:
formats: formats:
- deb - deb
- rpm - rpm
file_name_template: "{{.ProjectName}}_{{.Os}}_{{.Arch}}" file_name_template: '{{.ProjectName}}_{{.Os}}_{{.Arch}}'
contents: contents:
- src: completion/bash/task.bash - src: completion/bash/task.bash
dst: /etc/bash_completion.d/task dst: /etc/bash_completion.d/task
@ -84,8 +84,7 @@ brews:
repository: repository:
owner: go-task owner: go-task
name: homebrew-tap name: homebrew-tap
test: test: system "#{bin}/task", "--help"
system "#{bin}/task", "--help"
install: |- install: |-
bin.install "task" bin.install "task"
bash_completion.install "completion/bash/task.bash" => "task" bash_completion.install "completion/bash/task.bash" => "task"
@ -108,7 +107,7 @@ winget:
commit_author: commit_author:
name: task-bot name: task-bot
email: 106601941+task-bot@users.noreply.github.com email: 106601941+task-bot@users.noreply.github.com
commit_msg_template: "chore: bump {{.PackageIdentifier}} to {{.Tag}}" commit_msg_template: 'chore: release {{.PackageIdentifier}} {{.Tag}}'
release_notes_url: https://github.com/go-task/task/releases/tag/{{.Tag}} release_notes_url: https://github.com/go-task/task/releases/tag/{{.Tag}}
tags: tags:
- build - build
@ -122,13 +121,15 @@ winget:
- task-runner - task-runner
- taskfile - taskfile
- tool - tool
skip_upload: true
repository: repository:
owner: microsoft
name: winget-pkgs
pull_request:
enabled: true
base:
owner: go-task owner: go-task
name: winget-pkgs name: winget-pkgs
branch: "bump-task-to-{{.Tag}}" branch: 'chore/task-{{.Version}}'
pull_request:
enabled: true
draft: false
check_boxes: true
base:
owner: microsoft
name: winget-pkgs
branch: master