From e1ca87ef81077e5d82c3201be3421082a75f6235 Mon Sep 17 00:00:00 2001 From: Stanislav Seliverstov Date: Thu, 12 Mar 2020 16:03:04 +0300 Subject: [PATCH] Lerna release more fixes (via #114) --- .github/workflows/release.yml | 1 + package.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a77706588..4a3255558 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,6 +24,7 @@ jobs: CI: true - name: npm release run: | + npm run version -- ${GITHUB_REF:10} npm run release env: NPM_USER: ${{ secrets.NPM_USER }} diff --git a/package.json b/package.json index a52cb32b7..781ecdcd3 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "build": "npm run clean && npm run link && lerna run build --stream", "test": "npm run build && npm run run-test", "clean": "lerna run clean", - "release": "lerna publish from-git --yes", + "version": "lerna version --yes", + "release": "lerna publish from-package --yes", "lint": "lerna run lint", "lint-fix": "lerna run lint-fix", "run-test": "lerna run test",