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-09-30 15:33:58 -04:00
- id : sonr
2024-10-01 14:53:39 -04:00
goos : [ linux, darwin]
goarch : [ amd64, arm64]
2024-07-05 22:20:13 -04:00
main : ./cmd/sonrd
binary : sonrd
builder : go
gobinary : go
command : build
ldflags :
2024-09-14 12:47:25 -04:00
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
2024-09-30 15:13:00 -04:00
2024-07-05 22:20:13 -04:00
archives :
2024-10-01 14:53:39 -04:00
- id : sonr
builds : [ sonr]
name_template : '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
2024-09-30 15:13:00 -04:00
format : tar.gz
files :
- src : README*
- src : CHANGELOG*
release :
github :
owner : onsonr
name : sonr
2024-10-03 01:01:49 -04:00
name_template : "Release {{.Version}}"
2024-09-30 15:13:00 -04:00
draft : false
replace_existing_draft : true
replace_existing_artifacts : true
2024-09-30 22:21:44 -04:00
extra_files :
- glob : ./CHANGELOG*
- glob : ./README*
- glob : ./LICENSE*
2024-09-30 15:57:03 -04:00
brews :
- 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-09-30 15:57:03 -04:00
homepage : "https://sonr.io/"
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-10-01 22:02:14 -04:00
# .goreleaser.yaml
dockers :
- # Sonr Binary
id : sonrd
goos : linux
goarch : amd64
ids :
- sonr
image_templates :
- "onsonr/sonrd:latest"
- "onsonr/sonrd:{{ .Tag }}"
2024-10-06 20:07:24 -04:00
dockerfile : "./deploy/sonrd.Dockerfile"
2024-10-01 22:02:14 -04:00
build_flag_templates :
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.title=sonrd"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
announce :
telegram :
enabled : true
chat_id : -1002222617755