Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade task to 3.28.0 #233

Merged
merged 2 commits into from
Jul 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ValidateTaskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ jobs:
- name: Validate Taskfile.yml
# Also update src/BinaryInstallPlugin.php if changing version
run: |
curl -O https://raw.githubusercontent.com/go-task/task/v3.21.0/docs/static/schema.json
curl -O https://raw.githubusercontent.com/go-task/task/v3.28.0/docs/static/schema.json
npx ajv-cli validate -s schema.json -d scaffold/Taskfile.yml
2 changes: 1 addition & 1 deletion .tugboat/steps/1-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -eux
echo "Initializing..."

# Install task
sh -c "$(curl --location https://raw.githubusercontent.com/go-task/task/v3.24.0/install-task.sh)" -- -d -b /usr/local/bin
sh -c "$(curl --location https://raw.githubusercontent.com/go-task/task/v3.28.0/install-task.sh)" -- -d -b /usr/local/bin

# Install mysql or mariadb client.
apt-get update
Expand Down
2 changes: 1 addition & 1 deletion scaffold/tugboat/steps/1-init.sh.twig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -eux
echo "Initializing..."

# Install task
sh -c "$(curl --location https://raw.githubusercontent.com/go-task/task/v3.24.0/install-task.sh)" -- -d -b /usr/local/bin
sh -c "$(curl --location https://raw.githubusercontent.com/go-task/task/v3.28.0/install-task.sh)" -- -d -b /usr/local/bin

# Install mysql or mariadb client.
apt-get update
Expand Down
26 changes: 14 additions & 12 deletions src/BinaryInstallerPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,30 @@ class BinaryInstallerPlugin extends BinaryInstaller
* @var string[]
*/
protected $binaries = [
// Also update .github/workflows/ValidateTaskfile.yml if changing version
// Also update if changing version
// - .github/workflows/ValidateTaskfile.yml
// - Tugboat templates
'task' => [
'releases' => [
'linux' => [
'amd64' => ['url' => 'https://github.com/go-task/task/releases/download/v3.24.0/task_linux_amd64.tar.gz', 'sha' => '05315061a703fc656984315f25813560f06ecd0076b220d07e1ef39f7f00a586'],
'arm' => ['url' => 'https://github.com/go-task/task/releases/download/v3.24.0/task_linux_arm.tar.gz', 'sha' => 'a4101b537df86b6369cb469aa96a17708c1eafd4b7560279bdcb81593539da4a'],
'386' => ['url' => 'https://github.com/go-task/task/releases/download/v3.24.0/task_linux_386.tar.gz', 'sha' => '34c863cd0dd1a0a570e39aa06c840a10b3b682b28ddb204641ab80e506049d3f'],
'arm64' => ['url' => 'https://github.com/go-task/task/releases/download/v3.24.0/task_linux_arm64.tar.gz', 'sha' => 'e43a3cebff6f82b06267db350ad1543541b5193a7a5cd657f8b74c674c3e8f82'],
'amd64' => ['url' => 'https://github.com/go-task/task/releases/download/v3.28.0/task_linux_amd64.tar.gz', 'sha' => 'a6d127f91c3a78512d8a20b4aca7b48b0b420c057fc09391ee1ae311293a565e'],
'arm' => ['url' => 'https://github.com/go-task/task/releases/download/v3.28.0/task_linux_arm.tar.gz', 'sha' => '1be7e3bfbe1ad29d807c6a85ef33ab0bdfbc8c7c5fe33d6e08043646e02db43a'],
'386' => ['url' => 'https://github.com/go-task/task/releases/download/v3.28.0/task_linux_386.tar.gz', 'sha' => 'cc4db4b0df9f947498e5a93dddf8398dd9f1d4faab11fd3c29d773b4b3920503'],
'arm64' => ['url' => 'https://github.com/go-task/task/releases/download/v3.28.0/task_linux_arm64.tar.gz', 'sha' => '031b26ca68a5274c0d88263bdd1b334c4f87c381f750c0e22e7777a1fb3374f7'],
],
'darwin' => [
'amd64' => ['url' => 'https://github.com/go-task/task/releases/download/v3.24.0/task_darwin_amd64.tar.gz', 'sha' => '6f15030f5d056a36847c0c5b202b61eb991e3815e5888ec4f840b9417569f931'],
'arm64' => ['url' => 'https://github.com/go-task/task/releases/download/v3.24.0/task_darwin_arm64.tar.gz', 'sha' => '131724bb8a8b254ed6b33a7b8cd939372d029556a916f6b72d488f3c397d6329'],
'amd64' => ['url' => 'https://github.com/go-task/task/releases/download/v3.28.0/task_darwin_amd64.tar.gz', 'sha' => '068f4d35b47419047afea167cbdff7d446ea4218548dfb3b541ca8b9a378fe84'],
'arm64' => ['url' => 'https://github.com/go-task/task/releases/download/v3.28.0/task_darwin_arm64.tar.gz', 'sha' => 'e962a63a46251952a34c1bd0a060f2eb91009058de13ea4f7750c8ae00513f95'],
],
'windows' => [
'amd64' => ['url' => 'https://github.com/go-task/task/releases/download/v3.24.0/task_windows_amd64.zip', 'sha' => '99f7ab584b48ea9c8d77a86d22aca4b7abdb3ea5db2351376fb4e6d6d9740040'],
'arm' => ['url' => 'https://github.com/go-task/task/releases/download/v3.24.0/task_windows_arm.zip', 'sha' => 'e2bdea17b90aebb6b9cbe7c90727f06a61f74d12aab6ab578d55b304d53be50b'],
'arm64' => ['url' => 'https://github.com/go-task/task/releases/download/v3.24.0/task_windows_arm64.zip', 'sha' => 'f8155881a976c68570ca71d592cac7063d3ba568aac10f6a0db9029fb6e23df3'],
'386' => ['url' => 'https://github.com/go-task/task/releases/download/v3.24.0/task_windows_386.zip', 'sha' => 'de0c350649bf0fb52fe6fdf818f68cc832add323ee2a8ebbb70892464a0179ba'],
'amd64' => ['url' => 'https://github.com/go-task/task/releases/download/v3.28.0/task_windows_amd64.zip', 'sha' => 'd46e1f3a8ce6951e2d7978c5094661b3f1473cba291bcc2fa53a7af224c403a8'],
'arm' => ['url' => 'https://github.com/go-task/task/releases/download/v3.28.0/task_windows_arm.zip', 'sha' => '9ad664e06f4168652f211a1c6600aea36cd8e9a63e467be0f44abfb1d58f9d6a'],
'arm64' => ['url' => 'https://github.com/go-task/task/releases/download/v3.28.0/task_windows_arm64.zip', 'sha' => '6092dc97bdbc53ca13c7451b5b4de83fad98a8058bcfdb4a1621a91e8fb320b0'],
'386' => ['url' => 'https://github.com/go-task/task/releases/download/v3.28.0/task_windows_386.zip', 'sha' => 'a7fd49978db94496b19141519b5f457aeeda0b92be2ec7e61aeba13cda8461c7'],
],
],
'hashalgo' => 'sha256',
'version' => '3.24.0',
'version' => '3.28.0',
],
];

Expand Down
Loading