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.
2 parents 46114b0 + fb384c1 commit bb0b9f0Copy full SHA for bb0b9f0
1 file changed
.github/workflows/release.yml
@@ -31,7 +31,7 @@ jobs:
31
run: |
32
# Use npm version to calculate the next version without modifying files
33
CURRENT_VERSION=$(node -p "require('./package.json').version")
34
- NEW_VERSION=$(npm version ${{ github.event.inputs.version }} --no-git-tag-version)
+ NEW_VERSION=$(npx semver $CURRENT_VERSION -i ${{ github.event.inputs.version }})
35
36
# Restore package.json to avoid dirty state
37
git checkout package.json package-lock.json 2>/dev/null || true
@@ -106,6 +106,7 @@ jobs:
106
name: ${{ steps.bump.outputs.version }}
107
body: ${{ steps.changelog.outputs.notes }}
108
files: ${{ steps.pack.outputs.tgz }}
109
+ target_commitish: ${{ github.sha }}
110
fail_on_unmatched_files: true
111
draft: false
112
prerelease: false
0 commit comments