Skip to content

Commit

Permalink
version: Update version to v0.3.3
Browse files Browse the repository at this point in the history
Update app version according to the last changes:
- ui (commit type description, template question in body)
- commit message rules (wrap body to 72 chars, body limit to 320)
- new screen record gif, readme fixes

* Version v0.3.3
  • Loading branch information
karantin2020 committed Mar 26, 2019
1 parent 008d977 commit 45cbe2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/karantin2020/gitcomm"
)

const version = "gitcomm 0.3.2"
const version = "gitcomm 0.3.3"

func main() {
app := cli.App("gitcomm", "Automate git commit messaging\n"+
Expand Down
1 change: 1 addition & 0 deletions prompt.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ func PromptConfirm(msg string) bool {
func linterSubject(s string) string {
// Remove all leading and trailing white spaces
s = strings.TrimSpace(s)
// Remove trailing period ...
s = strings.TrimSuffix(s, "...")
// Then strings.Title the first word in string
flds := strings.Fields(s)
Expand Down

0 comments on commit 45cbe2b

Please sign in to comment.