File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,9 @@ jobs:
136
136
done
137
137
138
138
- 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
140
142
141
143
- name : Add to CHANGELOG.md
142
144
if : inputs.final
Original file line number Diff line number Diff line change 39
39
tag : next
40
40
ignore-scripts : false
41
41
42
+ - name : Check npm package was published
43
+ if : steps.npm-publish.outputs.id == ''
44
+ run : exit 1
45
+
42
46
- name : 🎖️ Add `latest` dist-tag to final releases
43
47
if : steps.npm-publish.outputs.id && !contains(steps.npm-publish.outputs.id, '-rc.')
44
48
run : npm dist-tag add "$release" latest
You can’t perform that action at this time.
0 commit comments