From 445a000f3290e4c5eddf2b3d1313f46d1a63a1fc Mon Sep 17 00:00:00 2001 From: Kagol Date: Mon, 12 Dec 2022 23:06:26 +0800 Subject: [PATCH] chore: fix release failed --- .github/workflows/auto-publish.yml | 4 ++-- packages/devui-vue/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/auto-publish.yml b/.github/workflows/auto-publish.yml index 7beac14228..2051ae7254 100644 --- a/.github/workflows/auto-publish.yml +++ b/.github/workflows/auto-publish.yml @@ -46,11 +46,11 @@ jobs: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - + - name: Release uses: softprops/action-gh-release@v1 - if: startsWith(github.ref, 'refs/tags/') with: + tag_name: v${{ steps.package-version.outputs.version }} generate_release_notes: true env: GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }} diff --git a/packages/devui-vue/package.json b/packages/devui-vue/package.json index 4497d913b4..842aa37e2b 100644 --- a/packages/devui-vue/package.json +++ b/packages/devui-vue/package.json @@ -1,6 +1,6 @@ { "name": "vue-devui", - "version": "1.3.4-alpha.0", + "version": "1.3.4-alpha.3", "license": "MIT", "description": "DevUI components based on Vite and Vue3", "keywords": [