publish

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2026 License: MIT 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 publish is the seam of the release destination. Implementations: a directory (publish/dir) and GitHub releases through gh (publish/github). The conformance suite is publish/publishtest.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Publisher

type Publisher interface {
	// Publish makes the files visible under their base names for tag. A
	// later Publish of the same names replaces them. It fails when a file
	// cannot be read.
	Publish(tag string, files []string) error
}

Publisher sends release artifacts to a destination.

Directories

Path Synopsis
Package dir publishes release artifacts to a directory, such as a mounted bucket.
Package dir publishes release artifacts to a directory, such as a mounted bucket.
Package github publishes release artifacts as assets of a GitHub release through the gh CLI.
Package github publishes release artifacts as assets of a GitHub release through the gh CLI.
Package publishtest is the conformance suite of publish.Publisher.
Package publishtest is the conformance suite of publish.Publisher.

Jump to

Keyboard shortcuts

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