-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
114 lines (103 loc) · 3.85 KB
/
Copy path.goreleaser.yaml
File metadata and controls
114 lines (103 loc) · 3.85 KB
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
111
112
113
114
# yaml-language-server: $schema=https://raw.githubusercontent.com/goreleaser/goreleaser/v2.12.5/www/docs/static/schema-pro.json
version: 2
builds:
- dir: ./cli
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
flags:
- -trimpath
ldflags:
- "-s -w -X github.com/speakeasy-api/gram/cli/internal/app.GitSHA={{.Commit}} -X github.com/speakeasy-api/gram/cli/internal/app.Version={{.Version}}"
archives:
- name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
format: zip
checksum:
name_template: "checksums.txt"
signs:
- cmd: cosign
signature: "${artifact}.sigstore.json"
artifacts: checksum
args:
- sign-blob
- "--bundle=${signature}"
- "${artifact}"
- --yes
snapshot:
version_template: "{{ incpatch .Version }}-next"
changelog:
disable: true
release:
mode: keep-existing
monorepo:
tag_prefix: "cli@"
brews:
- name: gram
repository:
owner: speakeasy-api
name: homebrew-tap
homepage: https://app.getgram.ai
description: The Gram CLI for interacting with the Gram Platform
license: Apache-2.0
test: |
system "#{bin}/gram --version"
- name: gram@{{ .Major }}.{{ .Minor }}.{{ .Patch }}
repository:
owner: speakeasy-api
name: homebrew-tap
homepage: https://app.getgram.ai
description: The Gram CLI for interacting with the Gram Platform
license: Apache-2.0
test: |
system "#{bin}/gram --version"
# TODO: Implement Chocolateys release. Some transient 504 Gateway Timeouts can
# cause the entire release to fail and must be handled.
# chocolateys:
# - name: gram
# title: Gram CLI
# authors: Speakeasy Inc
# project_url: https://github.com/speakeasy-api/gram
# url_template: "https://github.com/speakeasy-api/gram/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
# copyright: 2025 Speakeasy, Inc
# license_url: https://github.com/speakeasy-api/gram/blob/main/LICENSE
# project_source_url: https://github.com/speakeasy-api/gram
# docs_url: https://docs.getgram.ai
# bug_tracker_url: https://github.com/speakeasy-api/gram/issues
# tags: openapi api speakeasy gram tools agents llm client-libraries
# summary: Everything you need to build powerful integrations for agents and LLMs.
# description: |-
# A command line interface for the Gram platform. Get started at https://docs.getgram.ai/
# Bring the functionality of Gram into your development workflow. It can be run locally or in your CI/CD pipeline.
# release_notes: "https://github.com/speakeasy-api/gram/releases/tag/v{{ .Version }}"
# api_key: "{{ .Env.CHOCOLATEY_API_KEY }}"
# source_repo: "https://push.chocolatey.org/"
# winget:
# - name: gram
# publisher: Gram
# short_description: Everything you need to build powerful integrations for agents and LLMs.
# license_url: https://github.com/speakeasy-api/gram/blob/main/LICENSE
# license: "elastic"
# publisher_url: https://app.getgram.ai
# publisher_support_url: https://github.com/speakeasy-api/gram/issues
# homepage: https://app.getgram.ai
# description: |-
# A command line interface for the Gram platform. Get started at https://docs.getgram.ai/
# Bring the functionality of Gram into your development workflow. It can be run locally or in your CI/CD pipeline.
# copyright: 2025 Speakeasy, Inc
# skip_upload: auto
# release_notes: "https://github.com/speakeasy-api/gram/releases/tag/v{{ .Version }}"
# release_notes_url: "https://github.com/speakeasy-api/gram/releases/tag/v{{ .Version }}"
# repository:
# owner: speakeasy-api
# name: winget-pkgs
# branch: "gram-{{.Version}}"
# pull_request:
# enabled: true
# draft: false
# base:
# owner: microsoft
# name: winget-pkgs
# branch: main