Skip to content

Commit

Permalink
Fix release scripts
Browse files Browse the repository at this point in the history
Regressed by #4496

Signed-off-by: Michael Telatynski <[email protected]>
  • Loading branch information
t3chguy committed Nov 12, 2024
1 parent 10a4fd8 commit b9aacea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release-make.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@ jobs:
done
- name: Bump package.json version
run: yarn version --no-git-tag-version --new-version "${VERSION#v}"
run: |
yarn version --no-git-tag-version --new-version "${VERSION#v}"
git add package.json
- name: Add to CHANGELOG.md
if: inputs.final
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ jobs:
tag: next
ignore-scripts: false

- name: Check npm package was published
if: steps.npm-publish.outputs.id == ''
run: exit 1

- name: 🎖️ Add `latest` dist-tag to final releases
if: steps.npm-publish.outputs.id && !contains(steps.npm-publish.outputs.id, '-rc.')
run: npm dist-tag add "$release" latest
Expand Down

0 comments on commit b9aacea

Please sign in to comment.