ci: exclude scripts dir from release package

This commit is contained in:
2025-10-08 11:42:37 +03:00
parent a6bc14ac76
commit 00d2cc592a
3 changed files with 4 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ jobs:
- name: Create zip package - name: Create zip package
run: | run: |
zip -r goose-highlighter.zip . -x '*.git*' 'node_modules/*' 'src/*' 'versioning.md' '.releaserc.json' 'package.json' 'package-lock.json' 'README.md' 'tsconfig.json' 'eslint.config.mjs' zip -r goose-highlighter.zip . -x '*.git*' 'node_modules/*' 'src/*' 'scripts/*' 'versioning.md' '.releaserc.json' 'package.json' 'package-lock.json' 'README.md' 'tsconfig.json' 'eslint.config.mjs'
- name: Install webstore upload CLI - name: Install webstore upload CLI
run: npm install -g chrome-webstore-upload-cli run: npm install -g chrome-webstore-upload-cli

View File

@@ -39,7 +39,7 @@ jobs:
- name: Create extension zip - name: Create extension zip
run: | run: |
zip -r goose-highlighter-${{ steps.version.outputs.VERSION }}.zip . \ zip -r goose-highlighter-${{ steps.version.outputs.VERSION }}.zip . \
-x '*.git*' 'node_modules/*' 'src/*' 'versioning.md' '.releaserc.json' \ -x '*.git*' 'node_modules/*' 'src/*' 'scripts/*' 'versioning.md' '.releaserc.json' \
'package.json' 'package-lock.json' 'README.md' 'tsconfig.json' \ 'package.json' 'package-lock.json' 'README.md' 'tsconfig.json' \
'eslint.config.mjs' '.github/*' 'CHANGELOG.md' 'PRIVACY.MD' 'eslint.config.mjs' '.github/*' 'CHANGELOG.md' 'PRIVACY.MD'
@@ -57,7 +57,7 @@ jobs:
# Copy all files except excluded ones to temp directory # Copy all files except excluded ones to temp directory
rsync -av --exclude='.git*' --exclude='node_modules' --exclude='src' \ rsync -av --exclude='.git*' --exclude='node_modules' --exclude='src' \
--exclude='versioning.md' --exclude='.releaserc.json' \ --exclude='scripts' --exclude='versioning.md' --exclude='.releaserc.json' \
--exclude='package.json' --exclude='package-lock.json' \ --exclude='package.json' --exclude='package-lock.json' \
--exclude='README.md' --exclude='tsconfig.json' \ --exclude='README.md' --exclude='tsconfig.json' \
--exclude='eslint.config.mjs' --exclude='.github' \ --exclude='eslint.config.mjs' --exclude='.github' \

View File

@@ -2,7 +2,7 @@
"manifest_version": 3, "manifest_version": 3,
"name": "__MSG_extension_name__", "name": "__MSG_extension_name__",
"description": "__MSG_extension_description__", "description": "__MSG_extension_description__",
"version": "1.8.0", "version": "1.8.1",
"default_locale": "en", "default_locale": "en",
"permissions": [ "permissions": [
"scripting", "scripting",