Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Wtyd committed May 10, 2024
1 parent 9c23f06 commit d242d3e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,6 @@ jobs:
run: |
ls -R | grep githooks
ls
# ls githooks-71
# ls githooks-73
# ls githooks-81
- name: Extract and check builds
run: |
Expand Down
2 changes: 1 addition & 1 deletion app/Commands/ExtractBuildCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function handle()
$this->task(
' <fg=yellow>1. Extracting all builds</>',
function () {
$builds = ['githooks-7.1.tar', 'githooks-7.3.tar', 'githooks-8.1.tar'];
$builds = Build::ALL_BUILDS;
foreach ($builds as $tarFile) {
$this->extractBuild($tarFile);
}
Expand Down
2 changes: 2 additions & 0 deletions src/Build/Build.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

class Build
{
const ALL_BUILDS = ['githooks-7.1.tar', 'githooks-7.3.tar', 'githooks-8.1.tar'];

/** @var string */
private $phpVersion;

Expand Down

0 comments on commit d242d3e

Please sign in to comment.