mirror of
https://github.com/wavetermdev/ssh_config.git
synced 2026-08-05 13:43:40 -07:00
add a release target
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
BUMP_VERSION := $(shell command -v bump_version)
|
||||||
STATICCHECK := $(shell command -v staticcheck)
|
STATICCHECK := $(shell command -v staticcheck)
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
@@ -9,4 +10,10 @@ endif
|
|||||||
|
|
||||||
test: lint
|
test: lint
|
||||||
@# the timeout helps guard against infinite recursion
|
@# the timeout helps guard against infinite recursion
|
||||||
go test -timeout=30ms ./...
|
go test -timeout=50ms ./...
|
||||||
|
|
||||||
|
release:
|
||||||
|
ifndef BUMP_VERSION
|
||||||
|
go get -u github.com/Shyp/bump_version
|
||||||
|
endif
|
||||||
|
bump_version minor config.go
|
||||||
|
|||||||
Reference in New Issue
Block a user