releaser

package
v0.125.1 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Overview

Package releaser implements a set of utilities 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 initializes 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