From 6a8d97b9cc597a14906afebaef848ac48160a4ca Mon Sep 17 00:00:00 2001 From: zhanglun Date: Fri, 7 Apr 2023 16:11:08 +0800 Subject: [PATCH] fix: fix version --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4ad9af5..a3bbb7b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: with: node-version: 16 - name: get version - run: echo "PACKAGE_VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_ENV + run: echo "PACKAGE_VERSION=$(node -p "require('./src-tauri/tauri.conf.json').package.version")" >> $GITHUB_ENV - name: create release id: create-release uses: actions/github-script@v6