forked from jsdelivr/globalping-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
118 lines (96 loc) · 3.28 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
111
112
113
114
115
116
117
118
version: 2
before:
hooks:
- go mod tidy
- go generate ./...
builds:
-
id: "globalping"
binary: "globalping"
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
archives:
- format: tar.gz
# this name template makes the OS and Arch compatible with the results of uname.
name_template: >-
globalping_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
# use zip for windows archives
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
version_template: "{{ incpatch .Version }}-next"
nfpms:
# note that this is an array of nfpm configs
-
package_name: "globalping"
# Your app's vendor.
vendor: "Globalping"
# Template to your app's homepage.
homepage: "https://globalping.io/"
# Template to your app's description.
description: |-
A global network testing platform to run network tests like ping, traceroute and DNS resolve from any location.
# maintainer
maintainer: "jsDelivr <[email protected]>"
# Your app's license.
license: "MPL-2.0"
# Formats to be generated.
formats:
- deb
- rpm
- archlinux
brews:
- name: globalping
homepage: https://github.com/jsdelivr/globalping-cli
repository:
owner: jsdelivr
name: homebrew-globalping
commit_author:
name: jimaek
email: [email protected]
chocolateys:
-
name: globalping
owners: jsdelivr
title: Globalping CLI
authors: Ayuhito
project_url: https://globalping.io
# App's icon.
icon_url: 'https://cdn.jsdelivr.net/gh/jimaek/akulov.com@e4e566ae5a067b02678b3cdf6e55fc6bcfb2c1c8/img/globalping-choco-icon.png'
license_url: https://github.com/jsdelivr/globalping-cli/blob/master/LICENSE
project_source_url: https://github.com/jsdelivr/globalping-cli
docs_url: https://github.com/jsdelivr/globalping-cli/blob/master/README.md
bug_tracker_url: https://github.com/jsdelivr/globalping-cli/issues
release_notes: "https://github.com/jsdelivr/globalping-cli/releases/tag/v{{ .Version }}"
summary: A global network of probes to run network tests like ping, traceroute and DNS resolve.
# Supports markdown.
description: |
# Globalping CLI
- The official command-line interface for the [Globalping](https://github.com/jsdelivr/globalping) network.
- Run networking commands from any location in the world
- Supported commands: ping, mtr, traceroute, dns resolve, HTTP
- Real-time results right in your command line
- Human friendly format and output
- Cross-platform. Linux, MacOS, Windows are all supported
- Auto-updates via RPM/DEB/Chocolatey repos
- [Check our website for online tools, our Slack app and more!](https://globalping.io)
## Getting Started with Globalping CLI
Once the Globalping CLI is installed, you can verify that it is working by running:
```bash
globalping --help
```
tags: "globalping ping traceroute dns mtr http network"
api_key: '{{ .Env.CHOCOLATEY_APIKEY }}'
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json