package releaser
import "github.com/gohugoio/hugo/releaser"
Package releaser implements a set of utilities to help automate the Hugo release process.
Index ¶
Types ¶
type ReleaseHandler ¶
type ReleaseHandler struct {
// contains filtered or unexported fields
}
ReleaseHandler provides functionality to release a new version of Hugo. Test this locally without doing an actual release: go run -tags release main.go release --skip-publish --try -r 0.90.0 Or a variation of the above -- the skip-publish flag makes sure that any changes are performed to the local Git only.
func New ¶
func New(skipPush, try bool, step int) (*ReleaseHandler, error)
New initializes a ReleaseHandler.
func (*ReleaseHandler) Run ¶
func (r *ReleaseHandler) Run() error
Run creates a new release.
Source Files ¶
- Version
- v0.144.2 (latest)
- Published
- Feb 19, 2025
- Platform
- linux/amd64
- Imports
- 8 packages
- Last checked
- 13 hours ago –
Tools for package owners.