Documentation ¶
Index ¶
Constants ¶
View Source
const (
Version string = "2.1.2"
)
Variables ¶
View Source
var ( ErrStrNoSuchFileOrDirectory = "no such file or directory" ErrStrFileDoesNotExist = "file does not exist" ErrStrReadingConfigFile = "reading project config file" ErrStrParsingConfigFile = "parsing project config file" ErrStrZeroFilesUpdated = "0 files updated" ErrStrRetrievingGpgConfiguration = "retrieving gpg configuration" ErrStrValidatingGpgSigningKey = "validating gpg signing key" ErrStrListingDirectoryFiles = "listing directory files" ErrStrDuringConfirmationPrompt = "during confirmation prompt" ErrStrFormattedIncrementingInLangProject = "incrementing version in %s project" ErrStrFormattedReadingAFile = "reading a file %v" ErrStrFormattedWritingToFile = "writing to file %v" ErrStrFormattedParsingVersionFromFileAndVersion = "parsing semantic version at file %v from version (%s)" ErrStrFormattedBumpingVersion = "bumping version %v" ErrStrFormattedSettingVersionInFile = "setting new version on content of a file %v" ErrStrFormattedInconsistentVersioning = "inconsistent versioning: %s" )
View Source
var ( GitConfigParser git.ConfigParserInterface GpgEntityAccessor gpg.EntityAccessorInterface ReleaseGetter ReleaseGetterInterface )
#do better
View Source
var ( ErrStrResponseHasEmptyTag = "tag name from response was empty" ErrStrFormattedUnsuccessfulStatusCode = "status code was not success: %d" )
View Source
var GhRepoName = "joe-at-startupmedia/version-bump"
Functions ¶
This section is empty.
Types ¶
type Bump ¶
type Bump struct { FS afero.Fs Git *git.Instance WaitGroup *sync.WaitGroup Configuration Configuration // contains filtered or unexported fields }
type Configuration ¶
type ReleaseGetterInterface ¶ added in v2.1.2
type VersionsDetected ¶ added in v2.1.2
type VersionsDetected stringedMap
func NewVersionDetector ¶ added in v2.1.2
func NewVersionDetector() VersionsDetected
func (*VersionsDetected) String ¶ added in v2.1.2
func (vd *VersionsDetected) String() string
Click to show internal directories.
Click to hide internal directories.