Skip to content

Commit

Permalink
fix: exclude electron-builder.env file from app to avoid packaging …
Browse files Browse the repository at this point in the history
…env secrets (#7792)
  • Loading branch information
dkaser committed Sep 25, 2023
1 parent 1a412f4 commit 84906bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/silent-cats-travel.md
@@ -0,0 +1,5 @@
---
"app-builder-lib": patch
---

fix: exclude electron-builder.env from app to avoid packaging env secrets
2 changes: 1 addition & 1 deletion packages/app-builder-lib/src/fileMatcher.ts
Expand Up @@ -17,7 +17,7 @@ export const excludedNames =
"__pycache__,.DS_Store,thumbs.db,.gitignore,.gitkeep,.gitattributes,.npmignore," +
".idea,.vs,.flowconfig,.jshintrc,.eslintrc,.circleci," +
".yarn-integrity,.yarn-metadata.json,yarn-error.log,yarn.lock,package-lock.json,npm-debug.log," +
"appveyor.yml,.travis.yml,circle.yml,.nyc_output,.husky,.github"
"appveyor.yml,.travis.yml,circle.yml,.nyc_output,.husky,.github,electron-builder.env"

export const excludedExts =
"iml,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,suo,xproj,cc,d.ts," +
Expand Down

0 comments on commit 84906bc

Please sign in to comment.