Skip to content

Commit b90d6e6

Browse files
chore(release): G4 — bundle LICENSE/NOTICE/README + docs in archives & packages (#77)
Completes the autonomously-doable part of G4 (release plumbing). goreleaser's default archive globs bundle LICENSE*/README* but NOT NOTICE — an Apache-2.0 distribution must ship NOTICE. Adds an explicit archive `files:` list (LICENSE + NOTICE + README + docs/QUICKSTART) and embeds LICENSE+NOTICE under /usr/share/doc/devstack in the .deb/.rpm via nfpm `contents:`. Validated locally: `goreleaser check` passes and a full `--snapshot` build produces all 8 artifacts (4 tar.gz + 2 .deb + 2 .rpm) with NOTICE present in the tarball. release-dryrun continues to cover this on every PR. Remaining G4 is owner-only (outward-facing / irreversible, locked decision #4): create the Homebrew tap repo (Q-NAME) + wire `brews:`, then cut the release — `git tag v1.0.0 && git push origin v1.0.0` — and flip the repo public. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 272f27a commit b90d6e6

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

‎.goreleaser.yaml‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ archives:
2828
- id: default
2929
formats: [tar.gz]
3030
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
31+
# Ship the license, the Apache-required NOTICE, and the quickstart in the
32+
# tarball. goreleaser's defaults bundle LICENSE*/README* but NOT NOTICE.
33+
files:
34+
- LICENSE
35+
- NOTICE
36+
- README.md
37+
- src: docs/QUICKSTART.md
38+
dst: docs
3139

3240
checksum:
3341
name_template: "checksums.txt"
@@ -45,6 +53,11 @@ nfpms:
4553
description: "Docker-based dev environments with infrastructure shared across projects"
4654
license: "Apache-2.0"
4755
bindir: /usr/bin
56+
contents:
57+
- src: LICENSE
58+
dst: /usr/share/doc/devstack/LICENSE
59+
- src: NOTICE
60+
dst: /usr/share/doc/devstack/NOTICE
4861

4962
snapshot:
5063
version_template: "{{ incpatch .Version }}-dev-{{ .ShortCommit }}"

0 commit comments

Comments
 (0)