-
Notifications
You must be signed in to change notification settings - Fork 16
/
.goreleaser.yaml
110 lines (103 loc) · 4.52 KB
/
.goreleaser.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
version: 2
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
# you may remove this if you don't need go generate
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
ldflags:
- "-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser -X main.artifactArch={{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
archives:
- name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
format: zip
checksum:
name_template: "checksums.txt"
snapshot:
version_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
brews:
- name: speakeasy
repository:
owner: speakeasy-api
name: homebrew-tap
homepage: https://www.speakeasy.com
description: The Speakeasy CLI for interacting with the Speakeasy Platform
license: Apache-2.0
test: |
system "#{bin}/speakeasy --version"
- name: speakeasy@{{ .Major }}.{{ .Minor }}.{{ .Patch }}
repository:
owner: speakeasy-api
name: homebrew-tap
homepage: https://www.speakeasy.com
description: The Speakeasy CLI for interacting with the Speakeasy Platform
license: Apache-2.0
test: |
system "#{bin}/speakeasy --version"
chocolateys:
- name: speakeasy
title: Speakeasy CLI
authors: Speakeasy Inc
project_url: https://github.com/speakeasy-api/speakeasy
url_template: "https://github.com/speakeasy-api/speakeasy/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
copyright: 2024 Speakeasy, Inc
license_url: https://github.com/speakeasy-api/speakeasy/blob/main/LICENSE
project_source_url: https://github.com/speakeasy-api/speakeasy
docs_url: https://speakeasy.com/docs/speakeasy-cli
bug_tracker_url: https://github.com/speakeasy-api/speakeasy/issues
tags: openapi api codegen validation speakeasy llm client-libraries sdks
summary: Speakeasy CLI makes validating API specs and generating idiomatic SDKs easy!
description: |-
This CLI is a tool for interacting with the Speakeasy platform - the CLI brings the functionality of Speakeasy into your development workflow. It can be run locally or in your CI/CD pipeline to validate your API specs, generate SDKs and more.
Current functions of the CLI include:
Generating idiomatic client SDKs from OpenAPI3.X specs:
Live: Go, Python3, Typescript(Node), Java, PHP, Ruby, Terraform
Validating the correctness of OpenAPI3 specs. The CLI has a built in command to validate your spec and post helpful error messages.
Authenticating with the platform and managing API keys.
release_notes: "https://github.com/speakeasy-api/speakeasy/releases/tag/v{{ .Version }}"
api_key: "{{ .Env.CHOCOLATEY_API_KEY }}"
source_repo: "https://push.chocolatey.org/"
winget:
- name: speakeasy
publisher: Speakeasy
short_description: Speakeasy CLI makes validating API specs and generating idiomatic SDKs easy!
license_url: "https://github.com/speakeasy-api/speakeasy/blob/main/LICENSE"
license: "elastic"
publisher_url: https://www.speakeasy.com
publisher_support_url: https://github.com/speakeasy-api/speakeasy/issues
homepage: https://www.speakeasy.com
description: |-
This CLI is a tool for interacting with the Speakeasy platform - the CLI brings the functionality of Speakeasy into your development workflow. It can be run locally or in your CI/CD pipeline to validate your API specs, generate SDKs and more.
Current functions of the CLI include:
Generating idiomatic client SDKs from OpenAPI 3.x specs:
Live: Go, Python3, Typescript(Node), Java, PHP, Ruby, Terraform
Validating the correctness of OpenAPI3 specs. The CLI has a built in command to validate your spec and post helpful error messages.
Authenticating with the platform and managing API keys.
copyright: 2024 Speakeasy, Inc
skip_upload: auto
release_notes: "https://github.com/speakeasy-api/speakeasy/releases/tag/v{{ .Version }}"
release_notes_url: "https://github.com/speakeasy-api/speakeasy/releases/tag/v{{ .Version }}"
repository:
owner: speakeasy-api
name: winget-pkgs
branch: "speakeasy-{{.Version}}"
pull_request:
enabled: true
draft: false
base:
owner: microsoft
name: winget-pkgs
branch: master