Skip to content

Commit

Permalink
[merge] Merge pull request #534 from inexorgame/hanni/fix_automatic_r…
Browse files Browse the repository at this point in the history
…eleases

[workflows] Fix automatic generation of releases
  • Loading branch information
IAmNotHanni authored May 14, 2023
2 parents 32bf951 + 697d7db commit e92d3ac
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,11 @@ jobs:
run_id: context.payload.workflow_run.id,
});
let matchArtifacts = allArtifacts.data.artifacts.filter((artifact) => {
console.log(artifact.name);
console.log(artifact.name.startsWith("release_"));
return artifact.name.startsWith("release_");
return !artifact.name.startsWith("build_");
});
let fs = require('fs');
for (const artifact of matchArtifacts) {
console.log(artifact);
let download = await github.rest.actions.downloadArtifact({
owner: context.repo.owner,
repo: context.repo.repo,
Expand Down

0 comments on commit e92d3ac

Please sign in to comment.