Skip to content

Commit

Permalink
fix: update version
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiotejon committed Jan 8, 2024
1 parent 7bdbbc8 commit f0d2941
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 39 deletions.
10 changes: 10 additions & 0 deletions .cz.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "$version"
version_scheme = "semver"
version = "0.3.2"
update_changelog_on_bump = true
major_version_zero = true
version_files = [
"cmd/root.go",
]
10 changes: 0 additions & 10 deletions .cz.yaml

This file was deleted.

15 changes: 7 additions & 8 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,13 @@ import (

// rootCmd represents the base command when called without any subcommands
var rootCmd = &cobra.Command{
Use: "gommitizen",
Short: "A brief description of your application",
Long: `A longer description that spans multiple lines and likely contains
examples and usage of using your application. For example:
Cobra is a CLI library for Go that empowers applications.
This application is a tool to generate the needed files
to quickly create a Cobra application.`,
Use: "gommitizen",
Version: "0.3.2",
Short: "A commitizen implementation for Go with multi-project support",
Long: `A commitizen implementation for Go with multi-project support.
It only supports the conventional commits specification: https://www.conventionalcommits.org/en/v1.0.0/
Currently it only supports the bump command, but it will support the commit command soon.`,

// Uncomment the following line if your bare application
// has an action associated with it:
// Run: func(cmd *cobra.Command, args []string) { },
Expand Down
21 changes: 0 additions & 21 deletions cmd/version.go

This file was deleted.

0 comments on commit f0d2941

Please sign in to comment.