Build binaries only for release tags on main
Security / Vulnerability check (push) Successful in 51s
Test / Lint and test (push) Successful in 2m0s

Branch CI no longer runs the GoReleaser snapshot build. test.yml lints,
tests and runs `goreleaser check`, which validates the release config
without compiling; release.yml stays the only workflow that builds, and
only for v* tags whose commit is on main. `make check` mirrors this with a
release-check target, and `make snapshot` remains for local packaging
checks.

0.2.0 is not yet released, so its notes now say it ships under EUPL-1.2:
the licence entry moves into the 0.2.0 section, dated 2026-11-30, and
README states that releases up to 0.1.2 were published under AGPL-3.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
57_WolveandClaude Opus 5.5 committed 2026-11-30 00:15:58 -06:00
1 parent 25d997fcd1
commit 853e8a9910
7 files changed
+39 -31

No files matched your search

+1 -1
View File
@@ -51,7 +51,7 @@ jobs:
with: with:
distribution: goreleaser distribution: goreleaser
# Pinned so that re-running a tag uses the same goreleaser. Same # Pinned so that re-running a tag uses the same goreleaser. Same
# pin as the snapshot step in test.yml. # pin as the config check in test.yml.
version: '2.20.3' version: '2.20.3'
args: release --clean args: release --clean
env: env:
+7 -8
View File
@@ -1,14 +1,15 @@
name: Test name: Test
# Every branch push, and no pull_request trigger: branches are pushed # Every branch push, and no pull_request trigger: branches are pushed
# directly, so each commit runs once. Tag pushes are left to release.yml. # directly, so each commit runs once. Branch pushes lint and test but build
# no binaries; binaries are built only by release.yml, for tags on main.
on: on:
push: push:
branches: ['**'] branches: ['**']
jobs: jobs:
check: check:
name: Lint, test and build name: Lint and test
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
@@ -60,13 +61,11 @@ jobs:
- name: Test (race detector) - name: Test (race detector)
run: go test -race -timeout 5m ./... run: go test -race -timeout 5m ./...
# The release build without publishing: runs the before hooks, # Validates .goreleaser.yaml without building anything, so a config
# cross-compiles every shipped target and packs the archives, so a # error fails here rather than on a tag. Same pin as release.yml.
# config error or a missing archive file fails here, not on a tag. - name: GoReleaser config check
# Same pin as release.yml.
- name: Release snapshot
uses: goreleaser/goreleaser-action@v6 uses: goreleaser/goreleaser-action@v6
with: with:
distribution: goreleaser distribution: goreleaser
version: '2.20.3' version: '2.20.3'
args: release --snapshot --clean args: check
+10 -11
View File
@@ -7,16 +7,11 @@ version may break callers; such changes are listed under **Breaking**.
## [Unreleased] ## [Unreleased]
### Changed ## [0.2.0] - 2026-11-30
- The licence is now the European Union Public Licence v. 1.2 (EUPL-1.2), The daemon is rewritten, and so are its install script and release process,
replacing the GNU Affero General Public License v3.0. Releases up to and and it is now licensed under the EUPL-1.2. Read **Breaking** before you
including 0.2.0 stay available under AGPL-3.0. upgrade a 0.1 install.
## [0.2.0] - 2026-11-29
The daemon is rewritten, and so are its install script and release process.
Read **Breaking** before you upgrade a 0.1 install.
### Breaking ### Breaking
@@ -125,6 +120,9 @@ Read **Breaking** before you upgrade a 0.1 install.
### Changed ### Changed
- The licence is now the European Union Public Licence v. 1.2 (EUPL-1.2),
replacing the GNU Affero General Public License v3.0. Releases up to and
including 0.1.2 stay available under AGPL-3.0.
- The HTTP server is Fiber v3 instead of Echo. ESC/POS commands come from an - The HTTP server is Fiber v3 instead of Echo. ESC/POS commands come from an
in-house package instead of justinmichaelvieira/escpos. in-house package instead of justinmichaelvieira/escpos.
- `printer.model` defaults to `tm-t88`: 512 dots, 42 Font A columns. On a - `printer.model` defaults to `tm-t88`: 512 dots, 42 Font A columns. On a
@@ -173,8 +171,9 @@ Read **Breaking** before you upgrade a 0.1 install.
- The module path is still the bare `uberbringer`, so build from a clone. - The module path is still the bare `uberbringer`, so build from a clone.
- CI moved from `.github/workflows` to `.gitea/workflows`. `test.yml` runs - CI moved from `.github/workflows` to `.gitea/workflows`. `test.yml` runs
once per branch push, and its gate is gofmt, goimports, once per branch push, and its gate is gofmt, goimports,
`go mod tidy -diff`, go vet, staticcheck, `go test -race -timeout 5m` and a `go mod tidy -diff`, go vet, staticcheck, `go test -race -timeout 5m` and
goreleaser snapshot of every shipped target. `goreleaser check`. It builds no binaries: they are built only for release
tags on main.
- Releases: - Releases:
- Releases are cut only from `v*` tags whose commit is on main, with - Releases are cut only from `v*` tags whose commit is on main, with
goreleaser pinned to 2.20.3. goreleaser pinned to 2.20.3.
+4 -2
View File
@@ -56,8 +56,10 @@ Read the test output back from the file. The per-package `-timeout 5m` makes a
hung test fail with every goroutine's stack. Without it, the tool's own time hung test fail with every goroutine's stack. Without it, the tool's own time
limit would kill the run first. staticcheck, goimports and govulncheck are limit would kill the run first. staticcheck, goimports and govulncheck are
pinned as tools in `go.mod`, so never install them separately. pinned as tools in `go.mod`, so never install them separately.
`.gitea/workflows/test.yml` runs the same gate on every branch push, and `.gitea/workflows/test.yml` runs the same gate, with `goreleaser check` in
`security.yml` runs govulncheck weekly and on pushes to main. A change is done place of the snapshot, on every branch push. It builds no binaries: only
`release.yml` does, for `v*` tags on main. `security.yml` runs govulncheck
weekly and on pushes to main. A change is done
when the gate passes and README and CHANGELOG.md say what changed. when the gate passes and README and CHANGELOG.md say what changed.
## Go version ## Go version
+8 -3
View File
@@ -1,4 +1,4 @@
.PHONY: build test lint fmt fmt-check vet tidy tidy-check vuln snapshot check run .PHONY: build test lint fmt fmt-check vet tidy tidy-check vuln release-check snapshot check run
# Without the leading v, as goreleaser's {{ .Version }} reports it. # Without the leading v, as goreleaser's {{ .Version }} reports it.
VERSION ?= $(patsubst v%,%,$(shell git describe --tags --always --dirty 2>/dev/null || echo dev)) VERSION ?= $(patsubst v%,%,$(shell git describe --tags --always --dirty 2>/dev/null || echo dev))
@@ -37,14 +37,19 @@ tidy-check:
vuln: vuln:
go tool govulncheck ./... go tool govulncheck ./...
# Validates .goreleaser.yaml without building anything.
release-check:
goreleaser check
# Cross-compiles every shipped target and packs the release archives into # Cross-compiles every shipped target and packs the release archives into
# dist/, publishing nothing. # dist/, publishing nothing. Run it after changing .goreleaser.yaml or
# packaging/; CI builds binaries only for release tags.
snapshot: snapshot:
goreleaser release --snapshot --clean goreleaser release --snapshot --clean
# The gate .gitea/workflows/test.yml runs, in the same order. # The gate .gitea/workflows/test.yml runs, in the same order.
# .gitea/workflows/security.yml runs vuln. # .gitea/workflows/security.yml runs vuln.
check: fmt-check tidy-check vet lint test snapshot check: fmt-check tidy-check vet lint test release-check
run: run:
go run ./cmd/uberbringer --config config.toml go run ./cmd/uberbringer --config config.toml
+8 -5
View File
@@ -468,10 +468,12 @@ order:
3. `go vet`. 3. `go vet`.
4. staticcheck. 4. staticcheck.
5. `go test -race -timeout 5m`. 5. `go test -race -timeout 5m`.
6. `snapshot`: `goreleaser release --snapshot --clean`. 6. `release-check`: `goreleaser check`, which validates the release config
without building.
It needs goreleaser installed. govulncheck is not part of it; run It needs goreleaser installed. govulncheck is not part of it; run
`make vuln`. `make` builds report the version without the leading `v`, e.g. `make vuln`. `make snapshot` builds the release archives locally; run it after
changing `.goreleaser.yaml` or `packaging/`. `make` builds report the version without the leading `v`, e.g.
`0.1.2-3-gabc1234`, as release binaries do. `0.1.2-3-gabc1234`, as release binaries do.
The linters are pinned as Go tools in `go.mod`, so `go tool staticcheck`, The linters are pinned as Go tools in `go.mod`, so `go tool staticcheck`,
@@ -503,8 +505,9 @@ docs/ Design notes and feature plans
CI runs on the Gitea runner from `.gitea/workflows/`. The repository has no CI runs on the Gitea runner from `.gitea/workflows/`. The repository has no
`.github/` directory. `.github/` directory.
- `test.yml` runs the `make check` gate on every branch push. It does not run - `test.yml` runs the `make check` gate on every branch push. It lints, tests
on pull requests or tags. and validates the release config, but builds no binaries, and it does not
run on pull requests or tags. Binaries are built only by `release.yml`.
- `security.yml` runs govulncheck on pushes to main and every Monday at - `security.yml` runs govulncheck on pushes to main and every Monday at
06:00 UTC. Scheduled runs use main's copy of the workflow. 06:00 UTC. Scheduled runs use main's copy of the workflow.
- `release.yml` builds and publishes a release with goreleaser 2.20.3 when a - `release.yml` builds and publishes a release with goreleaser 2.20.3 when a
@@ -522,5 +525,5 @@ Copyright © 2025-2026 William Gill.
Licensed under the European Union Public Licence v. 1.2 (EUPL-1.2). The full Licensed under the European Union Public Licence v. 1.2 (EUPL-1.2). The full
text is in [LICENSE.txt](LICENSE.txt), and translations into every official EU text is in [LICENSE.txt](LICENSE.txt), and translations into every official EU
language are equally valid. Releases up to and including 0.2.0 were published language are equally valid. Releases up to and including 0.1.2 were published
under the GNU Affero General Public License v3.0. under the GNU Affero General Public License v3.0.
+1 -1
View File
@@ -1,6 +1,6 @@
# Überbringer: design # Überbringer: design
Status: released as 0.2.0 and checked on paper on the TM-T88IV. Next is the Status: version 0.2.0, checked on paper on the TM-T88IV. Next is the
formatters work in `docs/plans/formatters.md`. This page records why the formatters work in `docs/plans/formatters.md`. This page records why the
daemon is shaped as it is. README.md describes how to use it. daemon is shaped as it is. README.md describes how to use it.