From dffd5a0719e9142ff354131076bef903153b03e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C4=8Cerm=C3=A1k?= Date: Fri, 15 Nov 2024 17:49:25 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Update=20release=20CI=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 2 +- package.json | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3431910c..bcbf2687 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,7 @@ jobs: run: yarn build - name: Publish packages - run: yarn publish:ci + run: yarn release:publish env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} diff --git a/package.json b/package.json index df7e6a92..88ace607 100644 --- a/package.json +++ b/package.json @@ -18,11 +18,10 @@ "format": "prettier --write --config prettier.config.mjs \"packages/*/(src|test)/**/*.(ts|tsx)\"", "test": "jest", "test:watch": "jest --watchAll", - "prepare-release": "yarn changeset", - "apply-release": "yarn changeset version", - "publish:ci": "yarn changeset publish", + "release:prepare": "yarn changeset", + "release:apply": "yarn changeset version", + "release:publish": "yarn changeset publish && yarn changeset tag", "changelog": "yarn update-gitmoji-config && gitmoji-changelog --preset generic", - "release": "lerna version $1", "version": "yarn changelog && code --wait CHANGELOG.md && git add CHANGELOG.md .gitmoji-changelogrc", "update-gitmoji-config": "node ./scripts/update-gitmoji-config.js" },