Skip to content

Commit

Permalink
feat: ignore .gitignore,.gitattributes,.editorconfig,.idea by default
Browse files Browse the repository at this point in the history
Also appveyor.yml,.travis.yml,circle.yml
  • Loading branch information
develar committed Sep 19, 2016
1 parent 1ad417f commit 70abaa3
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 17 deletions.
2 changes: 1 addition & 1 deletion docker/4/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM electronuserland/electron-builder:base

ENV NODE_VERSION 4.4.7
ENV NODE_VERSION 4.5.0

# https://github.com/npm/npm/issues/4531
RUN curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.xz" \
Expand Down
2 changes: 1 addition & 1 deletion docker/6/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM electronuserland/electron-builder:base

ENV NODE_VERSION 6.3.1
ENV NODE_VERSION 6.6.0

# https://github.com/npm/npm/issues/4531
RUN curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.xz" \
Expand Down
13 changes: 0 additions & 13 deletions docker/npm/build.sh

This file was deleted.

2 changes: 1 addition & 1 deletion src/platformPackager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export abstract class PlatformPackager<DC extends PlatformSpecificBuildOptions>
defaultMatcher.addPattern("!**/node_modules/*/{README.md,README,readme.md,readme,test}")
defaultMatcher.addPattern("!**/node_modules/.bin")
defaultMatcher.addPattern("!**/*.{o,hprof,orig,pyc,pyo,rbc}")
defaultMatcher.addPattern("!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,__pycache__,thumbs.db}")
defaultMatcher.addPattern("!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,__pycache__,thumbs.db,.gitignore,.gitattributes,.editorconfig,.idea,appveyor.yml,.travis.yml,circle.yml}")

let rawFilter: any = null
const deprecatedIgnore = (<any>this.devMetadata.build).ignore
Expand Down
2 changes: 1 addition & 1 deletion src/publish/gitHubPublisher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class GitHubPublisher implements Publisher {
throw new Error(`Version must not starts with "v": ${version}`)
}

this.tag = config == null || config.vPrefixedTagName ? `v${version}` : version
this.tag = config != null && config.vPrefixedTagName === false ? version : `v${version}`
this._releasePromise = this.token === "__test__" ? BluebirdPromise.resolve(<any>null) : <BluebirdPromise<Release>>this.init()
}

Expand Down

0 comments on commit 70abaa3

Please sign in to comment.