From 650e691a22221b56804c8aebfee1398381ecb370 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 17 Jan 2024 17:16:28 +0000 Subject: [PATCH] Fix npm release script (#1713) * Fix npm release script * Create 1713.misc --- .github/workflows/release.yaml | 2 +- changelogs/internal/newsfragments/1713.misc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelogs/internal/newsfragments/1713.misc diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ef4162d88..05e5be7a6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -27,7 +27,7 @@ jobs: run: "yarn install --frozen-lockfile" - name: 🎖 Bump package.json version - run: "yarn version $VERSION" + run: "yarn version --new-version $VERSION" env: VERSION: ${{ github.event.release.tag_name }}.0 diff --git a/changelogs/internal/newsfragments/1713.misc b/changelogs/internal/newsfragments/1713.misc new file mode 100644 index 000000000..c1b999bfc --- /dev/null +++ b/changelogs/internal/newsfragments/1713.misc @@ -0,0 +1 @@ +Fix npm release script for `@matrix-org/spec`.