package releaser

import "github.com/gohugoio/hugo/releaser"

Package releaser implements a set of utilities and a wrapper around Goreleaser to help automate the Hugo release process.

Package releaser implements a set of utilities and a wrapper around Goreleaser 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(version string, skipPublish, try bool) *ReleaseHandler

New initialises a ReleaseHandler.

func (*ReleaseHandler) Run

func (r *ReleaseHandler) Run() error

Run creates a new release.

Source Files

git.go github.go releasenotes_writer.go releaser.go

Version
v0.101.0
Published
Jun 16, 2022
Platform
js/wasm
Imports
17 packages
Last checked
31 minutes ago

Tools for package owners.