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
pull/1769/head
Michael Telatynski 8 months ago committed by GitHub
parent bd122b35b0
commit 083e6ef25d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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

@ -0,0 +1 @@
Fix npm release script for `@matrix-org/spec`.
Loading…
Cancel
Save