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 a81eeb8 commit 4f7e84cCopy full SHA for 4f7e84c
.github/workflows/release.yml
@@ -55,6 +55,13 @@ jobs:
55
run: |
56
git config --global tag.gpgsign true
57
58
+ - name: Bump version
59
+ run: |
60
+ OLD_VERSION=$(node -p "require('./package.json').version")
61
+ npm version ${{ github.event.inputs.version }} --no-git-tag-version
62
+ VERSION=$(node -p "require('./package.json').version")
63
+ sed -i "s/$OLD_VERSION/$VERSION/g" README.md
64
+
65
-
66
name: Build
67
@@ -65,7 +72,6 @@ jobs:
72
env:
73
GH_TOKEN: ${{ github.token }}
74
68
- npm version ${{ github.event.inputs.version }} --no-git-tag-version
69
75
VERSION=$(node -p "require('./package.json').version")
70
76
git commit -m "release: $VERSION" -a
71
77
git push
0 commit comments