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 4f2f4da commit ab5487aCopy full SHA for ab5487a
1 file changed
.github/workflows/publish.yml
@@ -67,7 +67,8 @@ jobs:
67
68
- name: Publish package
69
run: |
70
- EA_VERSION="${{ steps.current-version.outputs.base-version }}-ea-${{ github.run_number }}"
+ SHORT_SHA=$(git rev-parse --short "${{ github.event.workflow_run.head_sha }}")
71
+ EA_VERSION="${{ steps.current-version.outputs.base-version }}-ea.${SHORT_SHA}"
72
# Temporarily update version for publish
73
npm version "$EA_VERSION" --no-git-tag-version
74
npm publish --verbose --tag ea --access public --provenance
0 commit comments