Prashant Shahi c30c882aae
chore: integrate goreleaser for user_scripts and restructuring (#6911)
* chore: integrate goreleaser for user_scripts and restructuring
* ci(goreleaser): add goreleaser workflow
* chore(goreleaser): update Makefile and config

---------

Signed-off-by: Prashant Shahi <prashant@signoz.io>
2025-01-25 17:10:21 +05:30

46 lines
729 B
YAML

# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
version: 2
project_name: histogram-quantile
monorepo:
tag_prefix: histogram-quantile/
before:
hooks:
- go mod tidy
- cp ../../../LICENSE .
- cp ../../../README.md .
after:
hooks:
- rm LICENSE
- rm README.md
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
archives:
- formats:
- tar.gz
name_template: >-
{{ .ProjectName }}_{{- .Os }}_{{- .Arch }}
files:
- README.md
- LICENSE
release:
footer: >-
---
Released by [GoReleaser](https://github.com/goreleaser/goreleaser).