Set respect existing tags default to true.

This commit is contained in:
2025-02-08 01:48:17 +00:00
parent 2771fb826b
commit ebcffd219f
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -81,5 +81,5 @@ func init() {
rootCmd.PersistentFlags().BoolVarP(&params.varDebug, "debug", "d", false, "Enable debug mode") rootCmd.PersistentFlags().BoolVarP(&params.varDebug, "debug", "d", false, "Enable debug mode")
rootCmd.PersistentFlags().BoolVarP(&params.varUpdate, "update", "u", false, "Update binary with latest") rootCmd.PersistentFlags().BoolVarP(&params.varUpdate, "update", "u", false, "Update binary with latest")
rootCmd.PersistentFlags().BoolVarP(&params.varStrict, "strict", "s", false, "Strict matching") rootCmd.PersistentFlags().BoolVarP(&params.varStrict, "strict", "s", false, "Strict matching")
rootCmd.PersistentFlags().BoolVarP(&params.varExisting, "existing", "e", false, "Respect existing tags") rootCmd.PersistentFlags().BoolVarP(&params.varExisting, "existing", "e", true, "Respect existing tags")
} }
+2 -2
View File
@@ -1,7 +1,7 @@
version: 1 version: 1
force: force:
major: 1 major: 1
existing: false existing: true
strict: false strict: false
wording: wording:
patch: patch:
@@ -14,4 +14,4 @@ wording:
major: major:
- breaking - breaking
release: release:
- release-candidate - release-candidate