Skip to content
This repository was archived by the owner on Jan 2, 2023. It is now read-only.

Commit 3ad9f4d

Browse files
Bassem DghaidiBassem Dghaidi
authored andcommitted
Add automatic version update from release title
1 parent 2567fd2 commit 3ad9f4d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
with:
1414
node-version: 10
1515
registry-url: https://registry.npmjs.org/
16+
- run: sed -i -E 's/"version"\s*:\s*"(v?).+?"\s*(,?)$/"version": "${{ github.event.release.name }}"/' package.json
1617
- run: npm ci
1718
- run: npm publish
1819
env:

0 commit comments

Comments
 (0)