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" },