Rework deploy scripts to correctly build and handle multiple environments.
This commit is contained in:
1 parent
cfd5463b4d
commit
bfcce67788
7 files changed
+21
-6
No files matched your search
@@ -11,7 +11,7 @@ dist/personal-measure-api.tar.gz:
|
||||
|
||||
dist/personal-measure-web.tar.gz:
|
||||
-mkdir dist
|
||||
TARGET_ENV=$(TARGET_ENV) make -C web build
|
||||
(TARGET_ENV=$(TARGET_ENV) ./set-env.sh make -C web build)
|
||||
tar czf dist/personal-measure-web-${VERSION}.tar.gz -C web/dist .
|
||||
cp dist/personal-measure-web-${VERSION}.tar.gz dist/personal-measure-web.tar.gz
|
||||
|
||||
|
||||
Reference in new issue
Block a user