mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-20 16:38:37 +01:00
Fix npm publishing being broken in CI (#1765)
* Fix `v` tag_name prefix sneaking into npm version * Fix `yarn version` failing in CI due to no git global ident name * Add changelog * Rename 1765.misc to 1765.clarification
This commit is contained in:
parent
bd122b35b0
commit
083e6ef25d
3
.github/workflows/release.yaml
vendored
3
.github/workflows/release.yaml
vendored
|
|
@ -26,8 +26,9 @@ jobs:
|
||||||
- name: 🔨 Install dependencies
|
- name: 🔨 Install dependencies
|
||||||
run: "yarn install --frozen-lockfile"
|
run: "yarn install --frozen-lockfile"
|
||||||
|
|
||||||
|
# We bump the package.json version to git, we just need it for publish to do the right thing
|
||||||
- name: 🎖 Bump package.json version
|
- name: 🎖 Bump package.json version
|
||||||
run: "yarn version --new-version $VERSION"
|
run: "yarn version --new-version ${VERSION#v} --no-git-tag-version"
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ github.event.release.tag_name }}.0
|
VERSION: ${{ github.event.release.tag_name }}.0
|
||||||
|
|
||||||
|
|
|
||||||
1
changelogs/internal/newsfragments/1765.clarification
Normal file
1
changelogs/internal/newsfragments/1765.clarification
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
Fix npm release script for `@matrix-org/spec`.
|
||||||
Loading…
Reference in a new issue