From 16f3ba42ed8bbf8abf918235ae0d00ed123e8353 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..dfa9ba9940 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..b8f6b14aa1 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