🔥 Remove the usage of version.txt

This commit is contained in:
Andrey Antukh
2024-08-27 18:11:55 +02:00
parent 19d6f4381a
commit d25424d325
3 changed files with 2 additions and 6 deletions

View File

@@ -5,15 +5,12 @@ export DEVENV_IMGNAME="$ORGANIZATION/devenv";
export DEVENV_PNAME="penpotdev";
export CURRENT_USER_ID=$(id -u);
export CURRENT_VERSION=$(cat ./version.txt);
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"
echo -n "$(git describe --tags --match "*.*.*")";
}
function build-devenv {