@@ -16,8 +16,7 @@ builds:
1616 ldflags :
1717 - -s -w
1818 - -X go.szostok.io/version.version={{.Version}}
19- - -X go.szostok.io/version.buildDate={{.CommitDate}}
20- mod_timestamp : " {{.CommitTimestamp}}"
19+ - -X go.szostok.io/version.buildDate={{.Date}}
2120
2221changelog :
2322 sort : asc
@@ -39,9 +38,6 @@ archives:
3938 {{- else }}{{ .Arch }}{{ end }}
4039 {{- if .Arm }}v{{ .Arm }}{{ end }}
4140
42- release :
43- disable : true # Linux runner will publish the release (including the windows binaries)
44-
4541chocolateys :
4642 - name : azctx
4743 dependencies :
@@ -59,3 +55,42 @@ chocolateys:
5955 bug_tracker_url : " https://github.com/whiteducksoftware/azctx/issues"
6056 release_notes : " https://github.com/whiteducksoftware/azctx/releases/tag/{{ .Tag }}"
6157 copyright : " Copyright 2024 white duck GmbH"
58+
59+ winget :
60+ - name : azctx
61+ publisher : " white duck GmbH"
62+ path : " manifests/w/whiteducksoftware/azctx/{{ .Version }}"
63+ short_description : " Faster switching between Azure Subscriptions in your Azure CLI"
64+ license : " mit"
65+ publisher_url : " https://whiteduck.de/en/"
66+ publisher_support_url : " https://whiteduck.de/en/contact/"
67+ package_identifier : whiteducksoftware.azctx
68+ url_template : " https://github.com/whiteducksoftware/azctx/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
69+ commit_author :
70+ name : " {{ .Env.GITHUB_ACTOR }}"
71+ email : " {{ .Env.GITHUB_ACTOR_ID }}+{{ .Env.GITHUB_ACTOR }}@users.noreply.github.com"
72+ commit_msg_template : " WinGet manifest update for {{ .ProjectName }} version {{ .Tag }}"
73+ homepage : " https://github.com/whiteducksoftware/azctx"
74+ license_url : " https://github.com/whiteducksoftware/azctx/blob/main/LICENSE"
75+ copyright : " Copyright 2023 white duck GmbH"
76+ skip_upload : auto
77+ release_notes : " {{.Changelog}}"
78+ release_notes_url : " https://github.com/whiteducksoftware/azctx/releases/tag/{{ .Tag }}"
79+ tags :
80+ - azure
81+ - azure-cli
82+ dependencies :
83+ - package_identifier : Microsoft.AzureCLI
84+ minimum_version : 2.50.0
85+ repository :
86+ owner : whiteducksoftware
87+ name : winget-pkgs
88+ branch : azctx-{{ .Version }}
89+ token : " {{ .Env.AUTH_GITHUB }}"
90+ pull_request :
91+ enabled : false
92+ draft : true
93+ base :
94+ owner : microsoft
95+ name : winget-pkgs
96+ branch : master
0 commit comments