Skip to content

Commit

Permalink
Ignore mvnw file (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
shaikatzz authored May 6, 2024
1 parent 5722d86 commit bedf62b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mondaycom/apps-cli",
"version": "2.4.0",
"version": "2.5.0",
"description": "A cli tool to manage apps (and monday-code projects) in monday.com",
"author": "monday.com Apps Team",
"type": "module",
Expand Down
9 changes: 8 additions & 1 deletion src/services/files-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,14 @@ export const createTarGzArchive = async (directoryPath: string, fileName = 'code
const fullFileName = `**/${fileName}.tar.gz`;

// a special list of files to ignore that are not in .gitignore that is may or may not be in the project
const additionalFilesToIgnore = ['.git/**', '.env', 'local-secure-storage.db.json', '.mappsrc', 'node_modules/**'];
const additionalFilesToIgnore = [
'.git/**',
'.env',
'local-secure-storage.db.json',
'.mappsrc',
'node_modules/**',
'mvnw',
];
const pathsToIgnoreFromGitIgnore = getFilesToExcludeForArchive(directoryPath);
const pathsToIgnore = [...pathsToIgnoreFromGitIgnore, archivePath, fullFileName, ...additionalFilesToIgnore];

Expand Down

0 comments on commit bedf62b

Please sign in to comment.