2024-10-01 22:02:14 -04:00
|
|
|
# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json
|
2024-10-01 14:53:39 -04:00
|
|
|
version: 2
|
2024-09-30 15:13:00 -04:00
|
|
|
project_name: sonr
|
2024-07-05 22:20:13 -04:00
|
|
|
|
|
|
|
builds:
|
2024-12-18 15:53:45 -05:00
|
|
|
- id: motr
|
|
|
|
main: ./cmd/motr
|
|
|
|
binary: app
|
|
|
|
goos:
|
|
|
|
- js
|
|
|
|
goarch:
|
|
|
|
- wasm
|
|
|
|
|
2024-09-30 15:33:58 -04:00
|
|
|
- id: sonr
|
2024-07-05 22:20:13 -04:00
|
|
|
main: ./cmd/sonrd
|
|
|
|
binary: sonrd
|
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
|
|
|
|
- -X github.com/cosmos/cosmos-sdk/version.AppName=sonrd
|
|
|
|
- -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-12-10 00:42:52 -05:00
|
|
|
- id: hway
|
|
|
|
main: ./cmd/hway
|
|
|
|
binary: hway
|
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
- darwin
|
|
|
|
goarch:
|
|
|
|
- amd64
|
|
|
|
- arm64
|
|
|
|
mod_timestamp: "{{ .CommitTimestamp }}"
|
|
|
|
flags:
|
|
|
|
- -mod=readonly
|
|
|
|
- -trimpath
|
|
|
|
goamd64:
|
|
|
|
- v1
|
|
|
|
tags:
|
|
|
|
- netgo
|
|
|
|
ldflags:
|
|
|
|
- -X main.version={{.Version}}
|
|
|
|
- -X main.commit={{.Commit}}
|
|
|
|
- -X main.date={{.Date}}
|
2024-07-05 22:20:13 -04:00
|
|
|
archives:
|
2024-12-10 00:42:52 -05:00
|
|
|
- id: sonr
|
|
|
|
builds: [sonr]
|
|
|
|
name_template: >-
|
|
|
|
sonr_{{ .Version }}_
|
|
|
|
{{- title .Os }}_{{- if eq .Arch "amd64" }}x86_64
|
|
|
|
{{- else if eq .Arch "386" }}i386
|
|
|
|
{{- else }}{{ .Arch }}{{ end }}
|
|
|
|
format: tar.gz
|
|
|
|
files:
|
|
|
|
- src: README*
|
|
|
|
wrap_in_directory: true
|
|
|
|
|
|
|
|
- id: hway
|
|
|
|
builds: [hway]
|
|
|
|
name_template: >-
|
|
|
|
hway_{{ .Version }}_
|
|
|
|
{{- title .Os }}_{{- if eq .Arch "amd64" }}x86_64
|
|
|
|
{{- else if eq .Arch "386" }}i386
|
|
|
|
{{- else }}{{ .Arch }}{{ end }}
|
2024-09-30 15:13:00 -04:00
|
|
|
format: tar.gz
|
|
|
|
files:
|
|
|
|
- src: README*
|
2024-12-10 00:42:52 -05:00
|
|
|
wrap_in_directory: true
|
|
|
|
|
|
|
|
nfpms:
|
|
|
|
- id: hway
|
|
|
|
package_name: hway
|
|
|
|
file_name_template: "{{ .ConventionalFileName }}"
|
|
|
|
builds: [hway]
|
|
|
|
vendor: Sonr
|
|
|
|
homepage: "https://onsonr.dev"
|
|
|
|
maintainer: "Sonr <support@onsonr.dev>"
|
|
|
|
description: "Sonr Highway is a decentralized, permissionless, and censorship-resistant identity network proxy."
|
|
|
|
license: "Apache 2.0"
|
|
|
|
formats:
|
|
|
|
- rpm
|
|
|
|
- deb
|
|
|
|
- apk
|
|
|
|
dependencies:
|
|
|
|
- ipfs
|
|
|
|
contents:
|
|
|
|
- src: README*
|
|
|
|
dst: /usr/share/doc/hway
|
|
|
|
bindir: /usr/bin
|
|
|
|
section: net
|
|
|
|
priority: optional
|
|
|
|
# Add these lines to match build config
|
|
|
|
|
|
|
|
- id: sonr
|
|
|
|
package_name: sonrd
|
|
|
|
file_name_template: "{{ .ConventionalFileName }}"
|
|
|
|
builds: [sonr]
|
|
|
|
vendor: Sonr
|
|
|
|
homepage: "https://onsonr.dev"
|
|
|
|
maintainer: "Sonr <support@onsonr.dev>"
|
|
|
|
description: "Sonr is a decentralized, permissionless, and censorship-resistant identity network."
|
|
|
|
license: "Apache 2.0"
|
|
|
|
formats:
|
|
|
|
- rpm
|
|
|
|
- deb
|
|
|
|
- apk
|
|
|
|
dependencies:
|
|
|
|
- ipfs
|
|
|
|
contents:
|
|
|
|
- src: README*
|
|
|
|
dst: /usr/share/doc/sonrd
|
|
|
|
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:
|
2024-12-09 11:49:20 -05:00
|
|
|
- name: hway
|
|
|
|
ids: [hway]
|
|
|
|
commit_author:
|
|
|
|
name: goreleaserbot
|
|
|
|
email: bot@goreleaser.com
|
|
|
|
directory: Formula
|
|
|
|
caveats: "Run a local hway node and access it with the hway proxy"
|
|
|
|
homepage: "https://onsonr.dev"
|
|
|
|
description: "Sonr is a decentralized, permissionless, and censorship-resistant identity network."
|
|
|
|
dependencies:
|
|
|
|
- name: ipfs
|
|
|
|
repository:
|
|
|
|
owner: onsonr
|
|
|
|
name: homebrew-tap
|
|
|
|
branch: master
|
|
|
|
token: "{{ .Env.GITHUB_PERSONAL_AUTH_TOKEN }}"
|
2024-12-10 00:42:52 -05:00
|
|
|
|
2024-09-30 15:57:03 -04:00
|
|
|
- name: sonr
|
2024-10-01 14:53:39 -04:00
|
|
|
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"
|
2024-12-09 11:49:20 -05:00
|
|
|
homepage: "https://onsonr.dev"
|
2024-09-30 15:57:03 -04:00
|
|
|
description: "Sonr is a decentralized, permissionless, and censorship-resistant identity network."
|
|
|
|
dependencies:
|
|
|
|
- name: ipfs
|
2024-10-01 14:53:39 -04:00
|
|
|
repository:
|
|
|
|
owner: onsonr
|
|
|
|
name: homebrew-tap
|
|
|
|
branch: master
|
2024-10-01 16:41:26 -04:00
|
|
|
token: "{{ .Env.GITHUB_PERSONAL_AUTH_TOKEN }}"
|
2024-10-01 14:53:39 -04:00
|
|
|
|
2024-12-09 11:49:20 -05:00
|
|
|
release:
|
|
|
|
github:
|
|
|
|
owner: onsonr
|
|
|
|
name: sonr
|
|
|
|
name_template: "Release {{.Version}}"
|
|
|
|
draft: false
|
|
|
|
replace_existing_draft: true
|
|
|
|
replace_existing_artifacts: true
|
|
|
|
extra_files:
|
|
|
|
- glob: ./README*
|
2024-12-10 00:42:52 -05:00
|
|
|
|
2024-10-01 22:02:14 -04:00
|
|
|
announce:
|
|
|
|
telegram:
|
|
|
|
enabled: true
|
|
|
|
chat_id: -1002222617755
|