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 fb1ae8e commit 12cbf0dCopy full SHA for 12cbf0d
.github/workflows/release-plz.yml
@@ -36,11 +36,16 @@ jobs:
36
VERSION: ${{ fromJSON(steps.release-plz.outputs.pr).releases[0].version }}
37
run: |
38
set -e
39
- if [[ -n "$PR_NUMBER" ]]; then
40
- jq --arg version "${VERSION}" '.version = ($VERSION)' npm/package.json > tmp
+
+ pr_number="${PR_NUMBER}"
41
42
+ if [[ -n "$pr_number" ]]; then
43
+ version="${VERSION}"
44
45
+ jq --arg version "${version}" '.version = ($version)' npm/package.json > tmp
46
mv tmp npm/package.json
47
- gh pr checkout $PR_NUMBER
48
+ gh pr checkout $pr_number
49
git add .
50
git commit --amend --no-edit
51
git push --force-with-lease
0 commit comments