Added a default SEM_VER (#159)

* Set default SEM_VER to 0.0.0.

* Build docker with both latest and semver tags.

* Use docker tag instead of building twice.

* Build and tag in one command.
This commit is contained in:
Nimrod Gilboa Markevich
2021-08-03 14:35:02 +03:00
committed by GitHub
parent dc59fb6931
commit 2d5b170406
3 changed files with 13 additions and 5 deletions

View File

@@ -19,6 +19,7 @@ help: ## This help.
TS_SUFFIX="$(shell date '+%s')"
GIT_BRANCH="$(shell git branch | grep \* | cut -d ' ' -f2 | tr '[:upper:]' '[:lower:]' | tr '/' '_')"
BUCKET_PATH=static.up9.io/mizu/$(GIT_BRANCH)
export SEM_VER?=0.0.0
ui: ## Build UI.
@(cd ui; npm i ; npm run build; )