Skip to content

Commit 70abaa3

Browse files
committed
feat: ignore .gitignore,.gitattributes,.editorconfig,.idea by default
Also appveyor.yml,.travis.yml,circle.yml
1 parent 1ad417f commit 70abaa3

File tree

5 files changed

+4
-17
lines changed

5 files changed

+4
-17
lines changed

docker/4/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM electronuserland/electron-builder:base
22

3-
ENV NODE_VERSION 4.4.7
3+
ENV NODE_VERSION 4.5.0
44

55
# https://github.com/npm/npm/issues/4531
66
RUN curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.xz" \

docker/6/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM electronuserland/electron-builder:base
22

3-
ENV NODE_VERSION 6.3.1
3+
ENV NODE_VERSION 6.6.0
44

55
# https://github.com/npm/npm/issues/4531
66
RUN curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.xz" \

docker/npm/build.sh

Lines changed: 0 additions & 13 deletions
This file was deleted.

src/platformPackager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ export abstract class PlatformPackager<DC extends PlatformSpecificBuildOptions>
194194
defaultMatcher.addPattern("!**/node_modules/*/{README.md,README,readme.md,readme,test}")
195195
defaultMatcher.addPattern("!**/node_modules/.bin")
196196
defaultMatcher.addPattern("!**/*.{o,hprof,orig,pyc,pyo,rbc}")
197-
defaultMatcher.addPattern("!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,__pycache__,thumbs.db}")
197+
defaultMatcher.addPattern("!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,__pycache__,thumbs.db,.gitignore,.gitattributes,.editorconfig,.idea,appveyor.yml,.travis.yml,circle.yml}")
198198

199199
let rawFilter: any = null
200200
const deprecatedIgnore = (<any>this.devMetadata.build).ignore

src/publish/gitHubPublisher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export class GitHubPublisher implements Publisher {
5151
throw new Error(`Version must not starts with "v": ${version}`)
5252
}
5353

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

0 commit comments

Comments
 (0)