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 (#2089)

ISSUES CLOSED: #1873
  • Loading branch information
monsterkrampe committed Feb 3, 2022
1 parent 8d4e903 commit 2202dcd
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,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 2202dcd

Please sign in to comment.