fix: Set release version on semantic-release
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
SHELL := /bin/bash
|
||||
.PHONY: help
|
||||
VERSION=$(shell git describe --tags `git rev-list --tags --max-count=1`)
|
||||
ifdef $(VERSION)
|
||||
VERSION=$((VERSION))
|
||||
else
|
||||
VERSION=$(shell git describe --tags `git rev-list --tags --max-count=1`)
|
||||
endif
|
||||
|
||||
help: ## Display this help page
|
||||
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[33m%-30s\033[0m %s\n", $$1, $$2}'
|
||||
|
||||
Reference in New Issue
Block a user