Skip to content

Commit

Permalink
fix(publisher-electron-release-server): omit RELEASES file when uploa…
Browse files Browse the repository at this point in the history
…ding assets

ISSUES CLOSED: electron#1873
  • Loading branch information
monsterkrampe committed Dec 14, 2020
1 parent 286f96a commit 45f523f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ export default class PublisherERS extends PublisherBase<PublisherERSConfig> {
const versions: ERSVersion[] = await (await authFetch('api/version')).json();

for (const makeResult of makeResults) {
const { artifacts, packageJSON } = makeResult;
const { packageJSON } = makeResult;
const artifacts = makeResult.artifacts
.filter((artifactPath) => path.basename(artifactPath).toLowerCase() !== 'releases');

const existingVersion = versions.find((version) => version.name === packageJSON.version);

Expand Down

0 comments on commit 45f523f

Please sign in to comment.