Skip to content

Commit

Permalink
fix(updater): add missed CI task - get next version
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyurec committed Oct 29, 2022
1 parent 45e3926 commit 0c20479
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Releases

env:
PLUGIN_NAME: logseq-awesome-links
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

on:
push:
Expand Down Expand Up @@ -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

Expand All @@ -39,7 +44,3 @@ jobs:

- name: Release
run: npx semantic-release

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 0c20479

Please sign in to comment.