Skip to content

Commit 36a627a

Browse files
Merge pull request #56 from contentstack/development
fix: exclude .git folder when generating the zip file for deploying File Upload projects
2 parents e2e4694 + f6d6952 commit 36a627a

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/sca-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ jobs:
1212
env:
1313
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
1414
with:
15-
args: --all-projects --fail-on=all --strict-out-of-sync=false
15+
args: --all-projects --fail-on=all

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@contentstack/cli-launch",
3-
"version": "1.9.1",
3+
"version": "1.9.2",
44
"description": "Launch related operations",
55
"author": "Contentstack CLI",
66
"bin": {

src/config/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { VariablePreparationTypeOptions } from "../types";
1+
import { VariablePreparationTypeOptions } from '../types';
22

33
const config = {
44
maxRetryCount: 3,
@@ -7,7 +7,7 @@ const config = {
77
manageApiEndpoint: 'manage/graphql',
88
projectCreationRetryMaxCount: 3,
99
fileUploadConfig: {
10-
exclude: ['logs', '.next', 'node_modules', '.cs-launch.json'],
10+
exclude: ['logs', '.next', 'node_modules', '.cs-launch.json', '.git', '.env', '.env.local', '.vscode'],
1111
},
1212
outputDirectories: {
1313
GATSBY: './public',

0 commit comments

Comments
 (0)