Skip to content

Commit

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

[workflows] Fix automatic release generation
  • Loading branch information
IAmNotHanni authored Jun 13, 2023
2 parents 5d0bce6 + aea85de commit 23ea855
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
run_id: context.payload.workflow_run.id,
});
let matchArtifacts = allArtifacts.data.artifacts.filter((artifact) => {
console.log(artifact.name.startsWith("release_"));
return !artifact.name.startsWith("build_");
});
let fs = require('fs');
Expand All @@ -48,7 +47,7 @@ jobs:
shell: bash
run: |
mkdir archives
unzip 'build_*.zip' -d archives
unzip "{{ env.GITHUB_WORKSPACE }}/*.zip" -d archives
cd archives
for f in *; do mv "$f" "${f/release_/}";done
Expand Down

0 comments on commit 23ea855

Please sign in to comment.