From 009b20e385b02cf9094292ffabdaa5673008d52d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Vo=C5=99=C3=AD=C5=A1ek?= Date: Sat, 10 Dec 2022 00:51:13 +0100 Subject: [PATCH] fix release process --- .github/workflows/nightly.yml | 1 + .github/workflows/release.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 794c40bc2a..f5769f2c22 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -36,5 +36,6 @@ jobs: CI: true NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTOMATION }} run: | + sed '/^\/dist\/$/d' -i .gitignore npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN npm publish --tag nightly diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b3b89546c5..782e3b2766 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,6 +29,7 @@ jobs: CI: true NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTOMATION }} run: | + sed '/^\/dist\/$/d' -i .gitignore npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN yarn config set registry https://registry.npmjs.org yarn publish --non-interactive