diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cce26baa..cd184516 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -47,6 +47,7 @@ jobs: SHA="${{github.event.pull_request.head.sha}}${{ github.sha }}" SHORT_SHA=${SHA:0:7} VER=$(node -p "require('./src/package.json').version") + echo "version: ${VER}+${SHORT_SHA}" echo "WEBR_VERSION=${VER}+${SHORT_SHA}" > "$HOME/.webr-config.mk" echo "WEBR_VERSION_TAG=latest" > "$HOME/.webr-config.mk" shell: bash @@ -54,6 +55,7 @@ jobs: if: "!contains(github.ref_name, 'main')" run: | VER=$(node -p "require('./src/package.json').version") + echo "version: ${VER}" echo "WEBR_VERSION=${VER}" > "$HOME/.webr-config.mk" echo "WEBR_VERSION_TAG=${{ github.ref_name }}" > "$HOME/.webr-config.mk" shell: bash