mirror of
https://github.com/penpot/penpot.git
synced 2025-02-11 09:38:56 -05:00
💄 Add minor cosmetic changes to manage.sh script
This commit is contained in:
parent
ef9dcf391d
commit
7f5491f45b
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,4 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -ex
|
|
||||||
|
|
||||||
export ORGANIZATION="penpotapp";
|
export ORGANIZATION="penpotapp";
|
||||||
export DEVENV_IMGNAME="$ORGANIZATION/devenv";
|
export DEVENV_IMGNAME="$ORGANIZATION/devenv";
|
||||||
|
@ -11,6 +10,8 @@ export CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD);
|
||||||
export CURRENT_HASH=$(git rev-parse --short HEAD);
|
export CURRENT_HASH=$(git rev-parse --short HEAD);
|
||||||
export CURRENT_COMMITS=$(git rev-list --count HEAD)
|
export CURRENT_COMMITS=$(git rev-list --count HEAD)
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
function print-current-version {
|
function print-current-version {
|
||||||
echo -n "$CURRENT_VERSION-$CURRENT_COMMITS-g$CURRENT_HASH"
|
echo -n "$CURRENT_VERSION-$CURRENT_COMMITS-g$CURRENT_HASH"
|
||||||
}
|
}
|
||||||
|
@ -179,8 +180,8 @@ function build-docker-images {
|
||||||
|
|
||||||
pushd ./docker/images;
|
pushd ./docker/images;
|
||||||
|
|
||||||
docker build -t penpotapp/backend:$CURRENT_BRANCH -f Dockerfile.backend .;
|
|
||||||
docker build -t penpotapp/frontend:$CURRENT_BRANCH -f Dockerfile.frontend .;
|
docker build -t penpotapp/frontend:$CURRENT_BRANCH -f Dockerfile.frontend .;
|
||||||
|
docker build -t penpotapp/backend:$CURRENT_BRANCH -f Dockerfile.backend .;
|
||||||
docker build -t penpotapp/exporter:$CURRENT_BRANCH -f Dockerfile.exporter .;
|
docker build -t penpotapp/exporter:$CURRENT_BRANCH -f Dockerfile.exporter .;
|
||||||
|
|
||||||
popd;
|
popd;
|
||||||
|
|
Loading…
Add table
Reference in a new issue