feat(version): show git commit and env [EE-6021] (#10748)

This commit is contained in:
Chaim Lev-Ari
2024-01-25 07:41:33 +02:00
committed by GitHub
parent 52db4cba0e
commit 4a10c2bb07
9 changed files with 75 additions and 14 deletions

View File

@@ -110,6 +110,8 @@ jobs:
export YARN_VERSION=$(yarn --version)
export WEBPACK_VERSION=$(yarn list webpack --depth=0 | grep webpack | awk -F@ '{print $2}')
export BUILDNUMBER=${GITHUB_RUN_NUMBER}
GIT_COMMIT_HASH_LONG=${{ github.sha }}
export GIT_COMMIT_HASH_SHORT={GIT_COMMIT_HASH_LONG:0:7}
make build-all PLATFORM=${{ matrix.config.platform }} ARCH=${{ matrix.config.arch }} ENV=${NODE_ENV}
env:
CONTAINER_IMAGE_TAG: ${{ env.CONTAINER_IMAGE_TAG }}