diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index 165a3208..1b571aa4 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -1,6 +1,9 @@ name: NPM -on: [push, pull_request] +on: # 配置触发workflow的事件 + push: + tags: # tag更新时触发此workflow + - '*' jobs: publish: @@ -24,7 +27,7 @@ jobs: - name: chmod run: chmod +x ./scripts/package-publish-config-tag.sh - + - name: Generate Package JSON run: ./scripts/generate-package-json.sh diff --git a/package.json b/package.json index 943319f4..69bf991d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "chatflow", - "version": "2.0.0", + "version": "2.0.38", "description": "ChatFlow-聊天机器人管理平台", "type": "module", "exports": {