Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/openstatusHQ/cli. OpenStatus CLI www.openstatus.dev
cli cli-app synthetic-monitoring
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111# yaml-language-server: $schema=https://raw.githubusercontent.com/goreleaser/goreleaser/v2.10.2/www/docs/static/schema.json# This is an example .goreleaser.yml file with some sensible defaults.# Make sure to check the documentation at https://goreleaser.com
# The lines below are called `modelines`. See `:help modeline`# Feel free to remove those if you don't want/need to use them.# vim: set ts=2 sw=2 tw=0 fo=cnqoj
version: 2
before: hooks: # You may remove this if you don't use go modules. - go mod tidy # - pandoc -s -t man openstatus-docs.md -o openstatus-docsbuilds: - env: - CGO_ENABLED=0 id: openstatus main: ./cmd/openstatus ldflags: - -s -w -X github.com/openstatusHQ/cli/internal/version.Version={{ .Tag }} goos: - linux - windows - darwin binary: openstatus
archives:
- formats: [ 'tar.gz'] # this name template makes the OS and Arch compatible with the results of `uname`. name_template: >- {{ .ProjectName }}_ {{- 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 formats: [ 'zip' ] files: - docs/openstatus.1 # replacements: # darwin: Darwin # linux: Linux # windows: Windows # 386: i386 # amd64: x86_64changelog: sort: asc filters: exclude: - "^docs:" - "^test:"
homebrew_casks: - name: openstatus binary: openstatus homepage: https://www.openstatus.dev skip_upload: auto description: "OpenStatus CLI" directory: Casks manpage: docs/openstatus.1 repository: owner: openstatusHQ # Repository name. # # Templates: allowed. name: homebrew-cli branch: main token: "{{ .Env.TAP_GITHUB_TOKEN }}"
hooks: post: # replace foo with the actual binary name install: | if system_command("/usr/bin/xattr", args: ["-h"]).exit_status == 0 # replace 'foo' with the actual binary name system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/openstatus"] end
# brews:# -# name: openstatus# directory: Formula# homepage: https://www.openstatus.dev# skip_upload: auto# test: |# system "#{bin}/openstatus --help"# extra_install: |# man1.install "openstatus-docs.1"# repository:# # Repository owner.# ## # Templates: allowed.# owner: openstatusHQ
# # Repository name.# ## # Templates: allowed.# name: homebrew-cli
# branch: main# token: "{{ .Env.TAP_GITHUB_TOKEN }}"