Documentation ¶
Overview ¶
Copyright 2023 Arbaaz Laskar
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2023 Arbaaz Laskar ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2023 Arbaaz Laskar ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2023 Arbaaz Laskar ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func BumpMajorVersion(version string) string
- func BumpMinorVersion(version string) string
- func BumpPatchVersion(version string) string
- func ColorizeDiffStat(output string) string
- func CommitChanges(currentVersion, newVersion, commitMessage string) error
- func CreateTag(version, message string) error
- func CreateTemplateVariables(dir, prevTag, newTag, message string) map[string]string
- func GetAppDir() string
- func GetCommitOption() (bool, error)
- func GetConfigFilePath() string
- func GetCurrentVersion() (string, error)
- func GetTagOption() (bool, error)
- func IncrementVersion(version string) string
- func IsGitRepository(path string) bool
- func ParseTemplate(template string, variables map[string]string) string
- func UpdateChecker()
- func UpdateConfig(updateFunc func(config *Config)) error
- func UpdateFiles(currentVersion, newVersion string) error
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BumpMajorVersion ¶ added in v0.5.0
func BumpMinorVersion ¶ added in v0.5.0
func BumpPatchVersion ¶ added in v0.5.0
func ColorizeDiffStat ¶
func CommitChanges ¶ added in v0.5.0
func CreateTemplateVariables ¶ added in v0.4.0
func GetCommitOption ¶ added in v0.5.0
func GetConfigFilePath ¶ added in v0.4.0
func GetConfigFilePath() string
func GetCurrentVersion ¶ added in v0.5.0
func GetTagOption ¶ added in v0.5.0
func IncrementVersion ¶ added in v0.5.0
func IsGitRepository ¶
func ParseTemplate ¶ added in v0.4.0
func UpdateChecker ¶ added in v0.3.3
func UpdateChecker()