mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
💄 Add minor cosmetic changes to manage.sh script
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user