mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 21:09:11 +00:00
- **feat: remove grant page** - **refactor: remove alert, input, radios, tabs, and video blocks** - **feat: add JSON serialization to DWN config** - **feat: add new Highway gateway component** - **refactor: remove unused chains.yaml and devbox.json** - **refactor: Separate request and response headers into protected and non-protected structs** - **feat: Update the UseSession echo middleware to bind the correct headers and provide methods for updating HTMX context from Go** - **refactor: remove unused headers from session** - **feat: add authorize endpoint** - **feat: create marketing pages**
139 lines
3.6 KiB
YAML
139 lines
3.6 KiB
YAML
# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json
|
|
version: 2
|
|
project_name: sonr
|
|
|
|
builds:
|
|
- id: sonr
|
|
goos: [linux, darwin]
|
|
goarch: [amd64, arm64]
|
|
main: ./cmd/sonrd
|
|
binary: sonrd
|
|
builder: go
|
|
gobinary: go
|
|
command: build
|
|
ldflags:
|
|
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
|
|
|
|
- id: hway
|
|
goos: [linux, darwin]
|
|
goarch: [amd64, arm64]
|
|
main: ./cmd/hway
|
|
binary: hway
|
|
builder: go
|
|
gobinary: go
|
|
command: build
|
|
ldflags:
|
|
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
|
|
|
|
- id: motr
|
|
goos: [js]
|
|
goarch: [wasm]
|
|
main: ./cmd/motr/motr.go
|
|
binary: motr
|
|
builder: go
|
|
gobinary: go
|
|
command: build
|
|
|
|
archives:
|
|
- id: sonr
|
|
builds: [sonr]
|
|
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
|
|
format: tar.gz
|
|
files:
|
|
- src: README*
|
|
- src: CHANGELOG*
|
|
|
|
- id: hway
|
|
builds: [hway]
|
|
name_template: '{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
|
|
format: tar.gz
|
|
files:
|
|
- src: README*
|
|
- src: CHANGELOG*
|
|
|
|
release:
|
|
github:
|
|
owner: onsonr
|
|
name: sonr
|
|
name_template: "Release {{.Version}}"
|
|
draft: false
|
|
replace_existing_draft: true
|
|
replace_existing_artifacts: true
|
|
extra_files:
|
|
- glob: ./CHANGELOG*
|
|
- glob: ./README*
|
|
- glob: ./LICENSE*
|
|
|
|
brews:
|
|
- name: sonr
|
|
ids: [sonr]
|
|
commit_author:
|
|
name: goreleaserbot
|
|
email: bot@goreleaser.com
|
|
directory: Formula
|
|
caveats: "Run a local sonr node and access it with the hway proxy"
|
|
homepage: "https://sonr.io/"
|
|
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 }}"
|
|
|
|
- name: hway
|
|
ids: [hway]
|
|
commit_author:
|
|
name: goreleaserbot
|
|
email: bot@goreleaser.com
|
|
directory: Formula
|
|
caveats: "Use hway to interact with the Sonr network"
|
|
homepage: "https://sonr.io/"
|
|
description: "Motr is a proxy for interacting with the Sonr network."
|
|
dependencies:
|
|
- name: ipfs
|
|
repository:
|
|
owner: onsonr
|
|
name: homebrew-tap
|
|
branch: master
|
|
|
|
# .goreleaser.yaml
|
|
dockers:
|
|
- # Sonr Binary
|
|
id: sonrd
|
|
goos: linux
|
|
goarch: amd64
|
|
ids:
|
|
- sonr
|
|
image_templates:
|
|
- "onsonr/sonrd:latest"
|
|
- "onsonr/sonrd:{{ .Tag }}"
|
|
dockerfile: "./deploy/sonrd.Dockerfile"
|
|
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}}"
|
|
|
|
- # Motr Binary
|
|
id: hway
|
|
goos: linux
|
|
goarch: amd64
|
|
ids:
|
|
- hway
|
|
image_templates:
|
|
- "onsonr/hway:latest"
|
|
- "onsonr/hway:{{ .Tag }}"
|
|
dockerfile: "./deploy/hway.Dockerfile"
|
|
build_flag_templates:
|
|
- "--label=org.opencontainers.image.created={{.Date}}"
|
|
- "--label=org.opencontainers.image.title=hway"
|
|
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
|
|
- "--label=org.opencontainers.image.version={{.Version}}"
|
|
|
|
announce:
|
|
telegram:
|
|
enabled: true
|
|
chat_id: -1002222617755
|