Skip to content

Commit 3d00905

Browse files
authored
Update npm-publish.yml
1 parent f5fd78b commit 3d00905

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/npm-publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ jobs:
2727
with:
2828
node-version: 14
2929
registry-url: https://registry.npmjs.org/
30+
- run: |
31+
sed -i "s/v0.0.0/${{ github.event.release.tag_name }}/g" package.json
32+
- run: |
33+
sed -i "s/WebApiClient build version v0.0.0/WebApiClient build version ${{ github.event.release.tag_name }}/g" src/js/WebApiClient.Core.js
3034
- run: npm ci
3135
- run: npm publish
3236
env:

0 commit comments

Comments
 (0)