Skip to content

Commit

Permalink
fix 🐛: ldfs flag fix
Browse files Browse the repository at this point in the history
  • Loading branch information
muandane committed Nov 13, 2023
1 parent 71d1f6b commit d2cb1b5
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ builds:
flags:
- -mod=vendor
ldflags:
- -s -w -X cmd.version={{.Version}}
- -s -w -X goji/cmd.version={{.Version}}

release:
prerelease: auto
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[![codecov](https://codecov.io/gh/muandane/goji/branch/main/graph/badge.svg?token=0PYU31AH2S)](https://codecov.io/gh/muandane/goji)
# goji

<img align="right" src="examples/go-gopher.gif">
<img align="right" src="public/go-gopher.gif">

> Commitizen-like tool for formatting commit messages using emojis written in go.
Expand Down Expand Up @@ -46,7 +46,7 @@ goji --version

Simply run `goji` in your terminal to start the interactive commit process:

![Goji gif](examples/goji.gif)
![Goji gif](public/goji.gif)

## Customization

Expand Down
3 changes: 1 addition & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
)

var (
version = ""
version string
initFlag bool
versionFlag bool
typeFlag string
Expand Down Expand Up @@ -131,7 +131,6 @@ func init() {
rootCmd.Flags().StringVarP(&typeFlag, "type", "t", "", "Specify the type from the config file")
rootCmd.Flags().StringVarP(&scopeFlag, "scope", "s", "", "Specify a custom scope")
rootCmd.Flags().StringVarP(&messageFlag, "message", "m", "", "Specify a commit message")

}

type Gitmoji struct {
Expand Down
File renamed without changes
File renamed without changes

0 comments on commit d2cb1b5

Please sign in to comment.