chore: fix start-release task
This commit is contained in:
parent
f4b3d8f532
commit
a8fa028f8f
6
Makefile
6
Makefile
|
@ -9,7 +9,7 @@ GITCHLOG_ARGS ?=
|
||||||
SHELL := /bin/bash
|
SHELL := /bin/bash
|
||||||
RUN_INSTALL_TESTS ?= yes
|
RUN_INSTALL_TESTS ?= yes
|
||||||
|
|
||||||
FORMIDABLE_VERSION := 0.0.5
|
FORMIDABLE_VERSION ?=
|
||||||
|
|
||||||
.PHONY: help
|
.PHONY: help
|
||||||
help: ## Display this help
|
help: ## Display this help
|
||||||
|
@ -72,7 +72,9 @@ release: deps
|
||||||
|
|
||||||
.PHONY: start-release
|
.PHONY: start-release
|
||||||
start-release:
|
start-release:
|
||||||
#git flow release start $(FORMIDABLE_VERSION)
|
if [ -z "$(FORMIDABLE_VERSION)" ]; then echo "You must define environment variable FORMIDABLE_VERSION"; exit 1; fi
|
||||||
|
|
||||||
|
git flow release start $(FORMIDABLE_VERSION)
|
||||||
|
|
||||||
# Update package.json version
|
# Update package.json version
|
||||||
jq '.version = "$(FORMIDABLE_VERSION)"' package.json | sponge package.json
|
jq '.version = "$(FORMIDABLE_VERSION)"' package.json | sponge package.json
|
||||||
|
|
Loading…
Reference in New Issue