From 7882c7b8a6e012bae1c7d19e9dd3c5f2d2c26ddb Mon Sep 17 00:00:00 2001 From: zbeyens Date: Fri, 8 Dec 2023 11:40:00 +0100 Subject: [PATCH] fix --- .github/workflows/release.yml | 2 +- package.json | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9f8feca..f7824ee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: # publish: yarn g:release cwd: ${{ github.workspace }} title: '[Release] Version packages' - publish: yarn prerelease && yarn changeset publish + publish: yarn release # Optional, might be used in conjunction with GITHUB_TOKEN to # allow running the workflows on a Version package action. # Be aware of security implications. diff --git a/package.json b/package.json index 4a149c4..6b9f3d3 100644 --- a/package.json +++ b/package.json @@ -14,9 +14,9 @@ "deps:update": "npx npm-check-updates@latest --configFileName config/ncurc.yml -u --workspaces --root --mergeConfig", "lint": "yarn g:lint", "lint:fix": "yarn g:lint:fix", - "prerelease": "yarn g:prerelease", "test": "yarn g:test", "typecheck": "yarn g:typecheck", + "release": "yarn build && yarn changeset publish", "g:brl": "turbo --filter \"./packages/**\" brl --no-daemon", "g:build": "turbo --filter \"./packages/**\" build --no-daemon", "g:build:watch": "yarn build:watch", @@ -24,8 +24,7 @@ "g:clean": "yarn clean:turbo && turbo --filter \"./packages/**\" clean --no-daemon", "g:lint": "turbo --filter \"./packages/**\" lint --no-daemon", "g:lint:fix": "turbo lint:fix --no-daemon", - "g:prerelease": "yarn build", - "g:release:next": "yarn g:prerelease && yarn changeset publish --tag next", + "g:release:next": "yarn build && yarn changeset publish --tag next", "g:test": "turbo --filter \"./packages/**\" test --no-daemon", "g:test:watch": "turbo --filter \"./packages/**\" test:watch --no-daemon", "g:test:cov": "yarn g:test --coverage",