fix(install.ps1): point base/download URLs to new Gitea domain (eightarms.net), fix dev->main branch
This commit is contained in:
+5
-5
@@ -1,5 +1,5 @@
|
|||||||
#Requires -Version 5.1
|
#Requires -Version 5.1
|
||||||
# Public release repository: http://octopus.51zxtx.com:3000/fourbroad/octopus-release
|
# Public release repository: https://eightarms.net/fourbroad/octopus-release
|
||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Octopus installer for Windows.
|
Octopus installer for Windows.
|
||||||
@@ -14,10 +14,10 @@
|
|||||||
Do not add the install directory to the user PATH.
|
Do not add the install directory to the user PATH.
|
||||||
|
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
irm http://octopus.51zxtx.com:3000/fourbroad/octopus-release/raw/branch/dev/install.ps1 | iex
|
irm https://eightarms.net/fourbroad/octopus-release/raw/branch/main/install.ps1 | iex
|
||||||
|
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
irm http://octopus.51zxtx.com:3000/fourbroad/octopus-release/raw/branch/dev/install.ps1 | iex; Install-Octopus -Version 0.1.3
|
irm https://eightarms.net/fourbroad/octopus-release/raw/branch/main/install.ps1 | iex; Install-Octopus -Version 0.1.3
|
||||||
#>
|
#>
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param(
|
param(
|
||||||
@@ -30,7 +30,7 @@ $ErrorActionPreference = "Stop"
|
|||||||
|
|
||||||
$APP = "octopus"
|
$APP = "octopus"
|
||||||
$REPO = "fourbroad/octopus-release"
|
$REPO = "fourbroad/octopus-release"
|
||||||
$baseUrl = if ($env:OCTOPUS_DOWNLOAD_BASE) { $env:OCTOPUS_DOWNLOAD_BASE } else { "http://octopus.51zxtx.com:3000" }
|
$baseUrl = if ($env:OCTOPUS_DOWNLOAD_BASE) { $env:OCTOPUS_DOWNLOAD_BASE } else { "https://eightarms.net" }
|
||||||
$INSTALL_DIR = Join-Path $env:USERPROFILE ".octopus\bin"
|
$INSTALL_DIR = Join-Path $env:USERPROFILE ".octopus\bin"
|
||||||
|
|
||||||
function Write-Color([string]$Text, [string]$Color = "White") {
|
function Write-Color([string]$Text, [string]$Color = "White") {
|
||||||
@@ -194,7 +194,7 @@ function Install-Octopus {
|
|||||||
Write-Host " octopus " -NoNewline; Write-Host "# Run command" -ForegroundColor DarkGray
|
Write-Host " octopus " -NoNewline; Write-Host "# Run command" -ForegroundColor DarkGray
|
||||||
Write-Host ""
|
Write-Host ""
|
||||||
Write-Host "For more information visit " -NoNewline -ForegroundColor DarkGray
|
Write-Host "For more information visit " -NoNewline -ForegroundColor DarkGray
|
||||||
Write-Host "https://octopus.51zxtx.com/docs"
|
Write-Host "https://eightarms.net/fourbroad/octopus-release"
|
||||||
Write-Host ""
|
Write-Host ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user