Skip to content

Commit b9aacea

Browse files
committed
Fix release scripts
Regressed by #4496 Signed-off-by: Michael Telatynski <[email protected]>
1 parent 10a4fd8 commit b9aacea

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/release-make.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,9 @@ jobs:
136136
done
137137
138138
- name: Bump package.json version
139-
run: yarn version --no-git-tag-version --new-version "${VERSION#v}"
139+
run: |
140+
yarn version --no-git-tag-version --new-version "${VERSION#v}"
141+
git add package.json
140142
141143
- name: Add to CHANGELOG.md
142144
if: inputs.final

.github/workflows/release-npm.yml

+4
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ jobs:
3939
tag: next
4040
ignore-scripts: false
4141

42+
- name: Check npm package was published
43+
if: steps.npm-publish.outputs.id == ''
44+
run: exit 1
45+
4246
- name: 🎖️ Add `latest` dist-tag to final releases
4347
if: steps.npm-publish.outputs.id && !contains(steps.npm-publish.outputs.id, '-rc.')
4448
run: npm dist-tag add "$release" latest

0 commit comments

Comments
 (0)