notcrawl/.goreleaser.yml
2026-04-22 16:57:43 -07:00

70 lines
1.4 KiB
YAML

version: 2
project_name: notcrawl
builds:
- id: notcrawl
main: ./cmd/notcrawl
binary: notcrawl
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
flags:
- -trimpath
ldflags:
- -s -w
archives:
- id: bundles
ids:
- notcrawl
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
files:
- README.md
- LICENSE
- SPEC.md
- config.example.toml
checksum:
name_template: "sha256sums.txt"
algorithm: sha256
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^ci:"
- "^Merge pull request"
- "^Merge branch"
nfpms:
- id: linux-packages
ids:
- notcrawl
package_name: notcrawl
file_name_template: "{{ .ConventionalFileName }}"
homepage: https://github.com/vincentkoc/notcrawl
maintainer: Vincent Koc <vincent@vincentkoc.com>
description: Local-first Notion crawler into SQLite and normalized Markdown.
license: MIT
formats:
- deb
- rpm
bindir: /usr/bin
section: utils
priority: optional
contents:
- src: ./README.md
dst: /usr/share/doc/notcrawl/README.md
- src: ./LICENSE
dst: /usr/share/doc/notcrawl/LICENSE
- src: ./config.example.toml
dst: /usr/share/doc/notcrawl/config.example.toml