mirror of
https://github.com/danbulant/dribbblish-dynamic-theme
synced 2026-06-15 04:31:06 +00:00
change actions to include commit hash in version file
This commit is contained in:
parent
fdfe690b79
commit
b60682cac5
3 changed files with 3 additions and 3 deletions
2
.github/workflows/post-release.yaml
vendored
2
.github/workflows/post-release.yaml
vendored
|
|
@ -30,7 +30,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
npm run build
|
npm run build
|
||||||
echo "${{ env.DRIBBBLISH_VERSION }}" > dist/VERSION
|
echo "${{ env.DRIBBBLISH_VERSION }}-${{ env.LATEST_SHA }}" > dist/VERSION
|
||||||
env:
|
env:
|
||||||
DRIBBBLISH_VERSION: ${{ env.DRIBBBLISH_VERSION }}
|
DRIBBBLISH_VERSION: ${{ env.DRIBBBLISH_VERSION }}
|
||||||
COMMIT_HASH: ${{ env.LATEST_SHA }}
|
COMMIT_HASH: ${{ env.LATEST_SHA }}
|
||||||
|
|
|
||||||
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
|
|
@ -34,7 +34,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
npm run build
|
npm run build
|
||||||
echo "${{ github.event.inputs.version }}" > dist/VERSION
|
echo "${{ github.event.inputs.version }}-${{ env.LATEST_SHA }}" > dist/VERSION
|
||||||
env:
|
env:
|
||||||
DRIBBBLISH_VERSION: ${{ github.event.inputs.version }}
|
DRIBBBLISH_VERSION: ${{ github.event.inputs.version }}
|
||||||
COMMIT_HASH: ${{ env.LATEST_SHA }}
|
COMMIT_HASH: ${{ env.LATEST_SHA }}
|
||||||
|
|
|
||||||
2
.github/workflows/webpack-test.yml
vendored
2
.github/workflows/webpack-test.yml
vendored
|
|
@ -24,7 +24,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
npm run build
|
npm run build
|
||||||
echo "Dev" > dist/VERSION
|
echo "Dev-${{ env.LATEST_SHA }}" > dist/VERSION
|
||||||
env:
|
env:
|
||||||
DRIBBBLISH_VERSION: Beta
|
DRIBBBLISH_VERSION: Beta
|
||||||
COMMIT_HASH: ${{ env.LATEST_SHA }}
|
COMMIT_HASH: ${{ env.LATEST_SHA }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue