apply

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply() error

Types

type ChangeDescription

type ChangeDescription struct {
	Sha         string
	ShortSha    string
	Change      string
	Description string
	File        string
}

func (*ChangeDescription) DeleteFile

func (changeDescription *ChangeDescription) DeleteFile() error

type Changelog

type Changelog struct {
	OldVersion   string
	Version      string
	Change       string
	MajorChanges []ChangeDescription
	MinorChanges []ChangeDescription
	PatchChanges []ChangeDescription
}

func NewChangelog

func NewChangelog() (*Changelog, error)

func (*Changelog) BumpFiles

func (changelog *Changelog) BumpFiles() error

func (*Changelog) DeleteFiles

func (changelog *Changelog) DeleteFiles() error

func (*Changelog) Save

func (changelog *Changelog) Save() error

type FrontMatter

type FrontMatter struct {
	Change string `json:"change"`
}

Jump to

Keyboard shortcuts

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