There was an error while loading. Please reload this page.
1 parent 5c4005d commit daa76a0Copy full SHA for daa76a0
1 file changed
.github/workflows/ci.yaml
@@ -62,6 +62,11 @@ jobs:
62
- name: Run Extension Tests
63
run: xvfb-run -a npm test
64
65
+ - name: Inject Commit Hash into Version
66
+ run: |
67
+ SHORT_SHA=$(git rev-parse --short HEAD)
68
+ jq ".version += \"-$SHORT_SHA\"" package.json > package.json.tmp && mv package.json.tmp package.json
69
+
70
- name: Package VSIX
71
run: npm run package:vsix
72
0 commit comments