release

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 23 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// ThemeKitVersion is the version build of the library
	ThemeKitVersion, _ = version.NewVersion("1.3.2")
)

Functions

func Install

func Install(ver string) error

Install will take a semver string and parse it then check if that update is available and install it. If the string is 'latest' it will install the most current. If the string is latest and there is no update it will return an error. An error will also be returned if the requested version does not exist.

func IsUpdateAvailable

func IsUpdateAvailable() bool

IsUpdateAvailable will check if there is an update to the theme kit command and if there is one it will return true. Otherwise it will return false.

func Remove

func Remove(key, secret, ver string) error

Remove will remove a themekit release from the deployed releases list. This will prevent any users from installing the version again. This can only be done will appropriate S3 priviledges

func Update

func Update(key, secret, ver string, force bool) error

Update will update the details of a release or deploy a new release with the deploy feed

Types

This section is empty.

Directories

Path Synopsis
Code generated by mockery v1.0.0.
Code generated by mockery v1.0.0.

Jump to

Keyboard shortcuts

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