Skip to content

Commit

Permalink
Make sure that the executable in the release artifact is executable
Browse files Browse the repository at this point in the history
  • Loading branch information
autarch committed Oct 27, 2024
1 parent 36627b4 commit af9f1e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions make-archive.pl
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ sub main {
}

chdir $td;
chmod 0755, $executable_name;

my @cmd
= $ENV{RUNNER_OS} eq 'Windows'
Expand Down
2 changes: 2 additions & 0 deletions tests/check-release.pl
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ sub main {
ok( -f $file, "$file exists after unpacking archive" );
}

ok( -x $executable_name, "$executable_name binary is executable" );

done_testing();
}

Expand Down

0 comments on commit af9f1e0

Please sign in to comment.