change actions to include commit hash in version file

This commit is contained in:
Send_Nukez 2021-11-27 13:18:09 +01:00
parent fdfe690b79
commit b60682cac5
3 changed files with 3 additions and 3 deletions

View file

@ -30,7 +30,7 @@ jobs:
run: |
npm install
npm run build
echo "${{ env.DRIBBBLISH_VERSION }}" > dist/VERSION
echo "${{ env.DRIBBBLISH_VERSION }}-${{ env.LATEST_SHA }}" > dist/VERSION
env:
DRIBBBLISH_VERSION: ${{ env.DRIBBBLISH_VERSION }}
COMMIT_HASH: ${{ env.LATEST_SHA }}

View file

@ -34,7 +34,7 @@ jobs:
run: |
npm install
npm run build
echo "${{ github.event.inputs.version }}" > dist/VERSION
echo "${{ github.event.inputs.version }}-${{ env.LATEST_SHA }}" > dist/VERSION
env:
DRIBBBLISH_VERSION: ${{ github.event.inputs.version }}
COMMIT_HASH: ${{ env.LATEST_SHA }}

View file

@ -24,7 +24,7 @@ jobs:
run: |
npm install
npm run build
echo "Dev" > dist/VERSION
echo "Dev-${{ env.LATEST_SHA }}" > dist/VERSION
env:
DRIBBBLISH_VERSION: Beta
COMMIT_HASH: ${{ env.LATEST_SHA }}