We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 661aa85 commit 28fb9ffCopy full SHA for 28fb9ff
1 file changed
.github/workflows/build-dev-artifacts.yml
@@ -28,7 +28,12 @@ jobs:
28
run: |
29
composer install --no-dev --prefer-dist --no-progress
30
- name: Create zip
31
- run: npm run dist
+ run: |
32
+ CURRENT_VERSION=$(node -p -e "require('./package.json').version")
33
+ COMMIT_HASH=$(git rev-parse --short HEAD)
34
+ DEV_VERSION="${CURRENT_VERSION}-dev.${COMMIT_HASH}"
35
+ grunt version::${DEV_VERSION}
36
+ npm run dist
37
- name: Retrieve branch name
38
id: retrieve-branch-name
39
run: echo "::set-output name=branch_name::$(REF=${GITHUB_HEAD_REF:-$GITHUB_REF} && echo ${REF#refs/heads/} | sed 's/\//-/g')"
0 commit comments