mirror of
https://github.com/luxfi/mpc.git
synced 2026-09-24 00:26:24 +00:00
Lux Partners Limited is not the entity behind this work. Every place the old name stood — copyright lines, site footers, brand config, legal and compliance text — now names the company that actually holds it. lux.fund is the exception and is not renamed to match: that site belongs to Lux Assets Management LLC, a different company, and it says so. Two kinds of line were left for a person rather than rewritten. A dated news item recording that Lux Partners Limited was established in the Isle of Man is a historical fact, and renaming it would falsify the record. And a sentence asserting that the company is domiciled in the Isle of Man is a claim about a jurisdiction, not a name — an Inc or an LLC is not an Isle of Man company, so swapping the name there would assert something untrue.
189 lines
4.8 KiB
YAML
189 lines
4.8 KiB
YAML
version: 2
|
|
|
|
before:
|
|
hooks:
|
|
- go mod tidy
|
|
- go generate ./...
|
|
|
|
builds:
|
|
- id: mpcd
|
|
main: ./cmd/mpcd
|
|
binary: mpcd
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
- darwin
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
ldflags:
|
|
- -s -w
|
|
- -X main.version={{.Version}}
|
|
- -X main.commit={{.Commit}}
|
|
- -X main.date={{.Date}}
|
|
- -X main.builtBy=goreleaser
|
|
|
|
- id: mpc
|
|
main: ./cmd/mpc
|
|
binary: mpc
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
- darwin
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
ldflags:
|
|
- -s -w
|
|
- -X main.version={{.Version}}
|
|
- -X main.commit={{.Commit}}
|
|
- -X main.date={{.Date}}
|
|
- -X main.builtBy=goreleaser
|
|
|
|
archives:
|
|
- id: default
|
|
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 }}
|
|
files:
|
|
- README.md
|
|
- LICENSE
|
|
|
|
checksum:
|
|
name_template: 'checksums.txt'
|
|
|
|
snapshot:
|
|
name_template: "{{ incpatch .Version }}-next"
|
|
|
|
changelog:
|
|
sort: asc
|
|
use: github
|
|
filters:
|
|
exclude:
|
|
- '^docs:'
|
|
- '^test:'
|
|
- '^chore:'
|
|
- '^ci:'
|
|
- Merge pull request
|
|
- Merge remote-tracking branch
|
|
- Merge branch
|
|
groups:
|
|
- title: 'New Features'
|
|
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
|
|
order: 0
|
|
- title: 'Bug Fixes'
|
|
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
|
|
order: 1
|
|
- title: 'Performance Improvements'
|
|
regexp: '^.*?perf(\([[:word:]]+\))??!?:.+$'
|
|
order: 2
|
|
- title: 'Security Updates'
|
|
regexp: '^.*?sec(\([[:word:]]+\))??!?:.+$'
|
|
order: 3
|
|
- title: 'Protocol Updates'
|
|
regexp: '^.*?protocol(\([[:word:]]+\))??!?:.+$'
|
|
order: 4
|
|
- title: Others
|
|
order: 999
|
|
|
|
dockers:
|
|
- image_templates:
|
|
- "luxfi/mpc:{{ .Tag }}-amd64"
|
|
- "ghcr.io/luxfi/mpc:{{ .Tag }}-amd64"
|
|
dockerfile: Dockerfile
|
|
use: buildx
|
|
goarch: amd64
|
|
build_flag_templates:
|
|
- "--platform=linux/amd64"
|
|
- "--label=org.opencontainers.image.created={{.Date}}"
|
|
- "--label=org.opencontainers.image.title={{.ProjectName}}"
|
|
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
|
|
- "--label=org.opencontainers.image.version={{.Version}}"
|
|
- "--label=org.opencontainers.image.source={{.GitURL}}"
|
|
- "--label=org.opencontainers.image.description=MPC - Threshold Signature Service"
|
|
- "--label=org.opencontainers.image.licenses=MIT"
|
|
- image_templates:
|
|
- "luxfi/mpc:{{ .Tag }}-arm64"
|
|
- "ghcr.io/luxfi/mpc:{{ .Tag }}-arm64"
|
|
dockerfile: Dockerfile
|
|
use: buildx
|
|
goarch: arm64
|
|
build_flag_templates:
|
|
- "--platform=linux/arm64"
|
|
- "--label=org.opencontainers.image.created={{.Date}}"
|
|
- "--label=org.opencontainers.image.title={{.ProjectName}}"
|
|
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
|
|
- "--label=org.opencontainers.image.version={{.Version}}"
|
|
- "--label=org.opencontainers.image.source={{.GitURL}}"
|
|
- "--label=org.opencontainers.image.description=MPC - Threshold Signature Service"
|
|
- "--label=org.opencontainers.image.licenses=MIT"
|
|
|
|
docker_manifests:
|
|
- name_template: "luxfi/mpc:{{ .Tag }}"
|
|
image_templates:
|
|
- "luxfi/mpc:{{ .Tag }}-amd64"
|
|
- "luxfi/mpc:{{ .Tag }}-arm64"
|
|
- name_template: "luxfi/mpc:latest"
|
|
image_templates:
|
|
- "luxfi/mpc:{{ .Tag }}-amd64"
|
|
- "luxfi/mpc:{{ .Tag }}-arm64"
|
|
- name_template: "ghcr.io/luxfi/mpc:{{ .Tag }}"
|
|
image_templates:
|
|
- "ghcr.io/luxfi/mpc:{{ .Tag }}-amd64"
|
|
- "ghcr.io/luxfi/mpc:{{ .Tag }}-arm64"
|
|
- name_template: "ghcr.io/luxfi/mpc:latest"
|
|
image_templates:
|
|
- "ghcr.io/luxfi/mpc:{{ .Tag }}-amd64"
|
|
- "ghcr.io/luxfi/mpc:{{ .Tag }}-arm64"
|
|
|
|
nfpms:
|
|
- id: packages
|
|
package_name: mpcd
|
|
vendor: Lux Industries Inc
|
|
homepage: https://github.com/luxfi/mpc
|
|
maintainer: Lux Development Team <[email protected]>
|
|
description: |-
|
|
MPC - Multi-Party Computation Threshold Signature Service
|
|
Supporting both ECDSA (CMP/CGGMP21) and EdDSA (FROST) protocols
|
|
license: MIT
|
|
formats:
|
|
- deb
|
|
- rpm
|
|
- apk
|
|
dependencies:
|
|
- git
|
|
recommends:
|
|
- golang
|
|
bindir: /usr/bin
|
|
contents: []
|
|
|
|
release:
|
|
github:
|
|
owner: luxfi
|
|
name: mpc
|
|
draft: false
|
|
prerelease: auto
|
|
mode: replace
|
|
name_template: "{{.ProjectName}}-v{{.Version}}"
|
|
footer: |
|
|
---
|
|
|
|
### Container Images
|
|
|
|
- `docker pull luxfi/mpc:{{ .Tag }}`
|
|
- `docker pull ghcr.io/luxfi/mpc:{{ .Tag }}`
|
|
|
|
### Verifying Checksums
|
|
|
|
```bash
|
|
curl -L https://github.com/luxfi/mpc/releases/download/{{ .Tag }}/checksums.txt | sha256sum -c --ignore-missing
|
|
```
|
|
|
|
announce:
|
|
skip: false |