mirror of
https://github.com/penpot/penpot.git
synced 2025-01-22 14:39:45 -05:00
💄 Add minor cosmetic changes to manage.sh script
This commit is contained in:
parent
78642cdceb
commit
17b24471c2
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
|
||||
export ORGANIZATION="penpotapp";
|
||||
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_COMMITS=$(git rev-list --count HEAD)
|
||||
|
||||
set -ex
|
||||
|
||||
function print-current-version {
|
||||
echo -n "$CURRENT_VERSION-$CURRENT_COMMITS-g$CURRENT_HASH"
|
||||
}
|
||||
|
@ -179,8 +180,8 @@ function build-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/backend:$CURRENT_BRANCH -f Dockerfile.backend .;
|
||||
docker build -t penpotapp/exporter:$CURRENT_BRANCH -f Dockerfile.exporter .;
|
||||
|
||||
popd;
|
||||
|
|
Loading…
Add table
Reference in a new issue