From 0c204792c896233037cd75bbc33aebbf516f0b82 Mon Sep 17 00:00:00 2001 From: yoyurec Date: Sat, 29 Oct 2022 14:14:14 +0300 Subject: [PATCH] fix(updater): add missed CI task - get next version --- .github/workflows/main.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6392771..0d2a8e1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,6 +2,8 @@ name: Releases env: PLUGIN_NAME: logseq-awesome-links + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} on: push: @@ -31,6 +33,9 @@ jobs: - name: Install dependencies run: pnpm install + - name: Get next version + run: npx semantic-release --dry-run --no-ci + - name: Build dist run: pnpm build @@ -39,7 +44,3 @@ jobs: - name: Release run: npx semantic-release - - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }}