Skip to content

Commit cf9f224

Browse files
committed
refactor: 简化 GitHub Release assets,只保留压缩包
- 移除单独的文件(index.js, package.json, README.md, icon.png) - 只在 Release 中包含完整的压缩包(ZIP 和 TAR.GZ) - 简化 npm 发布工作流的文件检查
1 parent efaa326 commit cf9f224

4 files changed

Lines changed: 1 addition & 9 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ jobs:
4343
echo "Package contents:"
4444
npm pack --dry-run
4545
46-
echo "Checking required files:"
47-
ls -la dist/index.js package.json README.md icon.png
48-
4946
- name: Check if version matches tag
5047
run: |
5148
PACKAGE_VERSION=$(node -p "require('./package.json').version")

.github/workflows/release.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,6 @@ jobs:
7171
files: |
7272
orca-tabs-plugin.zip
7373
orca-tabs-plugin.tar.gz
74-
dist/index.js
75-
dist/index.js.map
76-
package.json
77-
README.md
78-
icon.png
7974
generate_release_notes: true
8075
draft: false
8176
prerelease: false

orca-tabs-plugin-v2.1.2.zip

73.4 KB
Binary file not shown.

release-package/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "orca-plugin-template",
3-
"version": "2.1.1",
3+
"version": "2.1.2",
44
"type": "module",
55
"main": "dist/index.js",
66
"files": [

0 commit comments

Comments
 (0)