Skip to content

Commit

Permalink
fix the windows install script
Browse files Browse the repository at this point in the history
Signed-off-by: Dipankar Das <65275144+dipankardas011@users.noreply.github.com>
  • Loading branch information
dipankardas011 committed Jun 1, 2024
1 parent 325061d commit 6ec5565
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Write-Host "Welcome to Installation" -ForegroundColor DarkGreen

Write-Host "Available Releases" -ForegroundColor Cyan

$response = Invoke-RestMethod "https://api.github.com/repos/kubesimplify/ksctl-cli/releases"
$response = Invoke-RestMethod "https://api.github.com/repos/ksctl/cli/releases"
# get the release version

foreach ($release in $response.tag_name) {
Expand All @@ -33,9 +33,9 @@ if ($Arch -eq 1) {
Exit 1
}

Invoke-WebRequest -Uri https://github.com/kubesimplify/ksctl-cli/releases/download/v${ReleaseVersion}/ksctl_${ReleaseVersion}_checksums.txt -OutFile ksctl_${ReleaseVersion}_checksums.txt
Invoke-WebRequest -Uri https://github.com/kubesimplify/ksctl-cli/releases/download/v${ReleaseVersion}/ksctl_${ReleaseVersion}_windows_${Arch}.tar.gz -OutFile ksctl_${ReleaseVersion}_windows_${Arch}.tar.gz
Invoke-WebRequest -Uri https://github.com/kubesimplify/ksctl-cli/releases/download/v${ReleaseVersion}/ksctl_${ReleaseVersion}_windows_${Arch}.tar.gz.cert -OutFile ksctl_${ReleaseVersion}_windows_${Arch}.tar.gz.cert
Invoke-WebRequest -Uri https://github.com/ksctl/cli/releases/download/v${ReleaseVersion}/ksctl-cli_${ReleaseVersion}_checksums.txt -OutFile ksctl_${ReleaseVersion}_checksums.txt
Invoke-WebRequest -Uri https://github.com/ksctl/cli/releases/download/v${ReleaseVersion}/ksctl-cli_${ReleaseVersion}_windows_${Arch}.tar.gz -OutFile ksctl_${ReleaseVersion}_windows_${Arch}.tar.gz
Invoke-WebRequest -Uri https://github.com/ksctl/cli/releases/download/v${ReleaseVersion}/ksctl-cli_${ReleaseVersion}_windows_${Arch}.tar.gz.cert -OutFile ksctl_${ReleaseVersion}_windows_${Arch}.tar.gz.cert

# TODO: Add the checksum verification
# file=$(sha256sum ksctl_${RELEASE_VERSION}_${OS}_${ARCH}.tar.gz | awk '{print $1}')
Expand Down

0 comments on commit 6ec5565

Please sign in to comment.