fix: missing flag
parent
7840343cd4
commit
74bbc8c933
|
@ -16,3 +16,6 @@ vendor
|
||||||
|
|
||||||
# GoReleaser
|
# GoReleaser
|
||||||
dist
|
dist
|
||||||
|
|
||||||
|
# Binary
|
||||||
|
changeloguru-dev
|
||||||
|
|
5
Makefile
5
Makefile
|
@ -1,4 +1,4 @@
|
||||||
.PHONY: all test test-color coverage coverage-cli coverate-html lint
|
.PHONY: all test test-color coverage coverage-cli coverate-html lint build
|
||||||
|
|
||||||
all: test-color lint
|
all: test-color lint
|
||||||
go mod tidy
|
go mod tidy
|
||||||
|
@ -21,3 +21,6 @@ coverage-html: coverage
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
golangci-lint run ./...
|
golangci-lint run ./...
|
||||||
|
|
||||||
|
build:
|
||||||
|
go build -o changeloguru-dev ./cmd/changeloguru
|
||||||
|
|
|
@ -129,6 +129,14 @@ func NewApp() *App {
|
||||||
Name: flagAutoGitCommitName,
|
Name: flagAutoGitCommitName,
|
||||||
Usage: flagAutoGitCommitUsage,
|
Usage: flagAutoGitCommitUsage,
|
||||||
},
|
},
|
||||||
|
&cli.BoolFlag{
|
||||||
|
Name: flagAutoGitTagName,
|
||||||
|
Usage: flagAutoGitTagUsage,
|
||||||
|
},
|
||||||
|
&cli.BoolFlag{
|
||||||
|
Name: flagAutoGitPushName,
|
||||||
|
Usage: flagAutoGitPushUsage,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
Action: a.RunGenerate,
|
Action: a.RunGenerate,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue