Files
sonr/.goreleaser.yaml
T

99 lines
2.4 KiB
YAML
Raw Normal View History

# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json
version: 2
2024-09-30 15:13:00 -04:00
project_name: sonr
2024-07-05 22:20:13 -04:00
builds:
2024-09-30 15:33:58 -04:00
- id: sonr
2025-03-27 04:14:38 -04:00
binary: snrd
2024-12-10 00:42:52 -05:00
mod_timestamp: "{{ .CommitTimestamp }}"
goos:
- linux
- darwin
goarch:
- amd64
- arm64
goamd64:
- v1
flags:
- -mod=readonly
- -trimpath
2024-07-05 22:20:13 -04:00
ldflags:
2024-12-10 00:42:52 -05:00
- -X github.com/cosmos/cosmos-sdk/version.Name=sonr
2025-03-27 04:14:38 -04:00
- -X github.com/cosmos/cosmos-sdk/version.AppName=snrd
2024-12-10 00:42:52 -05:00
- -X github.com/cosmos/cosmos-sdk/version.Version={{.Version}}
- -X github.com/cosmos/cosmos-sdk/version.Commit={{.Commit}}
- -X "github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger"
tags:
- netgo
- ledger
2024-09-30 15:13:00 -04:00
2024-07-05 22:20:13 -04:00
archives:
2024-12-10 00:42:52 -05:00
- id: sonr
name_template: >-
2025-01-01 14:30:34 -05:00
sonr_{{ .Os }}_{{- if eq .Arch "amd64" }}x86_64
2024-12-10 00:42:52 -05:00
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
formats: ["tar.gz"]
2024-12-10 00:42:52 -05:00
files:
- src: README*
wrap_in_directory: true
nfpms:
- id: sonr
2025-03-27 04:14:38 -04:00
package_name: snrd
file_name_template: "sonr_{{ .Os }}_{{ .Arch }}{{ .ConventionalExtension }}"
2024-12-10 00:42:52 -05:00
vendor: Sonr
2025-03-27 04:14:38 -04:00
homepage: "https://sonr.io"
maintainer: "Sonr <support@sonr.io>"
2024-12-10 00:42:52 -05:00
description: "Sonr is a decentralized, permissionless, and censorship-resistant identity network."
license: "Apache 2.0"
formats:
- rpm
- deb
- apk
dependencies:
- ipfs
contents:
- src: README*
2025-03-27 04:14:38 -04:00
dst: /usr/share/doc/snrd
2024-12-10 00:42:52 -05:00
bindir: /usr/bin
section: net
priority: optional
# Add these lines to match build config
2024-09-30 15:13:00 -04:00
2024-09-30 15:57:03 -04:00
brews:
2025-03-27 04:14:38 -04:00
- name: snrd
ids: [sonr]
2024-09-30 15:57:03 -04:00
commit_author:
name: goreleaserbot
email: bot@goreleaser.com
directory: Formula
2024-10-02 01:40:49 -04:00
caveats: "Run a local sonr node and access it with the hway proxy"
2025-03-27 04:14:38 -04:00
homepage: "https://sonr.io"
2024-09-30 15:57:03 -04:00
description: "Sonr is a decentralized, permissionless, and censorship-resistant identity network."
dependencies:
- name: ipfs
repository:
2025-03-27 04:14:38 -04:00
owner: sonr-io
name: homebrew-tap
branch: master
2025-03-27 04:14:38 -04:00
token: "{{ .Env.GITHUB_PAT_TOKEN }}"
release:
github:
2025-03-27 04:14:38 -04:00
owner: sonr-io
name: snrd
name_template: "{{ .Tag }}"
draft: false
replace_existing_draft: true
replace_existing_artifacts: true
extra_files:
- glob: ./README*
2024-12-24 12:01:20 -05:00
- glob: ./scripts/install.sh
- glob: ./scripts/test_node.sh
- glob: ./scripts/test_ics_node.sh
2024-12-10 00:42:52 -05:00
announce:
telegram:
enabled: true
chat_id: -1002222617755