Skip to content

Commit b152a2d

Browse files
committed
chore: add support for chocolatey in goreleaser
1 parent 1125e52 commit b152a2d

1 file changed

Lines changed: 45 additions & 0 deletions

File tree

.goreleaser.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,48 @@ release:
7979
prerelease: auto
8080
draft: true
8181
name_template: "{{ .Tag }}"
82+
83+
chocolateys:
84+
- name: scaleway-cli
85+
86+
# IDs of the archives to use.
87+
# Empty means all IDs.
88+
# Attention: archives must not be in the 'binary' format.
89+
ids:
90+
- binaries
91+
92+
package_source_url: https://scaleway.com/cli
93+
owners: Scaleway
94+
authors: DevTools Team
95+
96+
# Your app's project url.
97+
# It is a required field.
98+
project_url: https://github.com/scaleway/scaleway-cli
99+
100+
icon_url: "https://github.com/scaleway/scaleway-cli/blob/main/docs/static_files/cli-artwork.png"
101+
copyright: 2019 Scaleway
102+
license_url: https://github.com/scaleway/scaleway-cli/blob/main/LICENSE
103+
require_license_acceptance: false
104+
105+
project_source_url: https://github.com/scaleway/scaleway-cli
106+
docs_url: https://cli.scaleway.com
107+
bug_tracker_url: https://github.com/scaleway/scaleway-cli/issues
108+
109+
tags: "scaleway-cli scaleway scw"
110+
summary: Scaleway CLI is a tool to help you pilot your Scaleway infrastructure directly from your terminal.
111+
description: |
112+
The Scaleway CLI allows you to interact with Scaleway APIs using a command line interface.
113+
You can create, update, delete, list or get information about all types of resources.
114+
115+
release_notes: "https://github.com/scaleway/scaleway-cli/releases/tag/v{{ .Version }}"
116+
117+
# The API key that should be used to push to the Chocolatey repository.
118+
api_key: "{{ .Env.CHOCOLATEY_API_KEY }}"
119+
120+
# The source repository that will push the package to.
121+
source_repo: "https://push.chocolatey.org/"
122+
123+
# Setting this will prevent GoReleaser to actually try to push the package
124+
# to Chocolatey repository, leaving the responsibility of publishing it to
125+
# the user.
126+
skip_publish: true

0 commit comments

Comments
 (0)