release

package
v0.3.0-alpha.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2026 License: Apache-2.0 Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package release holds no production code. It exists for the lock test in release_lock_test.go, which keeps the CI workflows exercising exactly the build that .goreleaser.yaml publishes.

Why a lock and not a convention: the binary users download is built with the grammar_subset build tags and for four targets, darwin/arm64 among them. For the whole 0.2 line and v0.3.0-alpha.1, CI tested an untagged build for three targets and the release workflow ran no tests at all, so nothing ever compiled or tested what was published. The workflows now name the release tags and targets once, in a workflow-level env, and the lock fails when that copy drifts from .goreleaser.yaml (or from the Makefile TAGS the goreleaser comment says to keep in sync), when a workflow step stops using it, or when the release job can publish without a passing test job in front of it.

Status: BUILT. What the lock does NOT read is declared on each parser in the test file: it fails loudly on those shapes instead of comparing nothing.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL