releaser

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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 initialises a ReleaseHandler.

func (*ReleaseHandler) Run

func (r *ReleaseHandler) Run() error

Run creates a new release.

Jump to

Keyboard shortcuts

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