mirror of
https://github.com/obsqrbtz/goose-highlighter.git
synced 2026-04-08 20:19:06 +03:00
ci: exclude scripts dir from release package
This commit is contained in:
2
.github/workflows/publish-extension.yml
vendored
2
.github/workflows/publish-extension.yml
vendored
@@ -34,7 +34,7 @@ jobs:
|
||||
|
||||
- name: Create zip package
|
||||
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
|
||||
run: npm install -g chrome-webstore-upload-cli
|
||||
|
||||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -39,7 +39,7 @@ jobs:
|
||||
- name: Create extension zip
|
||||
run: |
|
||||
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' \
|
||||
'eslint.config.mjs' '.github/*' 'CHANGELOG.md' 'PRIVACY.MD'
|
||||
|
||||
@@ -57,7 +57,7 @@ jobs:
|
||||
|
||||
# Copy all files except excluded ones to temp directory
|
||||
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='README.md' --exclude='tsconfig.json' \
|
||||
--exclude='eslint.config.mjs' --exclude='.github' \
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"manifest_version": 3,
|
||||
"name": "__MSG_extension_name__",
|
||||
"description": "__MSG_extension_description__",
|
||||
"version": "1.8.0",
|
||||
"version": "1.8.1",
|
||||
"default_locale": "en",
|
||||
"permissions": [
|
||||
"scripting",
|
||||
|
||||
Reference in New Issue
Block a user