You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-08-09 10:22:46 +03:00
Fix release scripts
Regressed by https://github.com/matrix-org/matrix-js-sdk/pull/4496 Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
4
.github/workflows/release-make.yml
vendored
4
.github/workflows/release-make.yml
vendored
@@ -136,7 +136,9 @@ jobs:
|
|||||||
done
|
done
|
||||||
|
|
||||||
- name: Bump package.json version
|
- 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
|
- name: Add to CHANGELOG.md
|
||||||
if: inputs.final
|
if: inputs.final
|
||||||
|
4
.github/workflows/release-npm.yml
vendored
4
.github/workflows/release-npm.yml
vendored
@@ -39,6 +39,10 @@ jobs:
|
|||||||
tag: next
|
tag: next
|
||||||
ignore-scripts: false
|
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
|
- name: 🎖️ Add `latest` dist-tag to final releases
|
||||||
if: steps.npm-publish.outputs.id && !contains(steps.npm-publish.outputs.id, '-rc.')
|
if: steps.npm-publish.outputs.id && !contains(steps.npm-publish.outputs.id, '-rc.')
|
||||||
run: npm dist-tag add "$release" latest
|
run: npm dist-tag add "$release" latest
|
||||||
|
Reference in New Issue
Block a user