๐Ÿ“ฆ veggiemonk / backlog

๐Ÿ“„ .goreleaser.yaml ยท 83 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
version: 2

project_name: backlog

before:
  hooks:
    - go mod tidy
    - go generate ./...

builds:
  - id: backlog
    env:
      - CGO_ENABLED=0
    goos:
      - linux
      - darwin
    goarch:
      - amd64
      - arm64
    mod_timestamp: "{{ .CommitTimestamp }}"
    flags:
      - -trimpath
    ldflags:
      - -s -w

# https://github.com/goreleaser/example-supply-chain
checksum:
  name_template: "checksums.txt"

report_sizes: true

sboms:
  - artifacts: archive
  - id: source # Two different sbom configurations need two different IDs
    artifacts: source

snapshot:
  version_template: "{{ .Tag }}-next"

kos:
  - repositories:
      - ghcr.io/veggiemonk/backlog
    creation_time: "{{.CommitTimestamp}}"
    base_image: "cgr.dev/chainguard/static:latest"
    tags:
      - "{{.Version}}"
      - latest
    flags:
      - -trimpath
    ldflags:
      - "-s -w"
    sbom: spdx
    bare: true
    base_import_paths: false
    preserve_import_paths: false
    platforms:
      - linux/amd64
      - linux/arm64
    labels:
      org.opencontainers.image.created: "{{.Date}}"
      org.opencontainers.image.name: "{{.ProjectName}}"
      org.opencontainers.image.revision: "{{.FullCommit}}"
      org.opencontainers.image.version: "{{.Version}}"
      org.opencontainers.image.source: "{{.GitURL}}"
      org.opencontainers.image.description: |
        Backlog is a zero-configuration task manager written in Go where tasks live inside a Git repository. It leverages plain Markdown files for task storage and a comprehensive command-line interface (CLI) for interaction. This design makes it exceptionally well-suited for AI agents thanks to its MCP (Model Context Protocol) integration.
    annotations:
      "index:org.opencontainers.image.description": |
        Backlog is a zero-configuration task manager written in Go where tasks live inside a Git repository. It leverages plain Markdown files for task storage and a comprehensive command-line interface (CLI) for interaction. This design makes it exceptionally well-suited for AI agents thanks to its MCP (Model Context Protocol) integration.

release:
  footer: >-

    **Container Image** in [ghcr.io/veggiemonk/backlog](https://ghcr.io/veggiemonk/backlog): `ghcr.io/veggiemonk/backlog:{{ .Tag }}`

    **Full Changelog**: https://github.com/veggiemonk/backlog/compare/{{ .PreviousTag }}...{{ .Tag }}

    **Open Source Insights**: [{{ .Tag }}](https://deps.dev/go/github.com%2Fveggiemonk%2Fbacklog/{{ .Tag }}) (compare to [{{ .PreviousTag }}](https://deps.dev/go/github.com%2Fveggiemonk%2Fbacklog/{{ .PreviousTag }}/compare?v2={{ .Tag }}))

    Released by [GoReleaser](https://github.com/goreleaser/goreleaser).