Reconcile canonical GnosysLabs/Hop publishing paths with accepted release implementation

Hop-State: A_06FN5C39XCC4JXJEAKVD5S0
Hop-Proposal: R_06FN5C2KP6Z8BKCP0KK1QZ0
Hop-Task: T_06FN3MBF98GWD4NA5PA1RWG
Hop-Attempt: AT_06FN5B04YJGZ2NFP2TJWM1R
This commit is contained in:
Hop
2026-07-11 12:38:41 -07:00
parent de99aad4d4
commit aad987e762
16 changed files with 36 additions and 36 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
[CmdletBinding()]
param(
[string]$GiteaUrl = $(if ($env:HOP_GITEA_URL) { $env:HOP_GITEA_URL } else { "https://githop.xyz" }),
[string]$Repository = $(if ($env:HOP_REPOSITORY) { $env:HOP_REPOSITORY } else { "hop/hop" }),
[string]$Repository = $(if ($env:HOP_REPOSITORY) { $env:HOP_REPOSITORY } else { "GnosysLabs/Hop" }),
[string]$Version = $(if ($env:HOP_VERSION) { $env:HOP_VERSION } else { "latest" }),
[string]$InstallDir = $(if ($env:HOP_INSTALL_DIR) { $env:HOP_INSTALL_DIR } else { Join-Path $env:LOCALAPPDATA "Programs\Hop" }),
[switch]$SkipSkill,
Executable → Regular
+1 -1
View File
@@ -3,7 +3,7 @@ set -eu
gitea_url=${HOP_GITEA_URL:-https://githop.xyz}
gitea_url=${gitea_url%/}
repository=${HOP_REPOSITORY:-hop/hop}
repository=${HOP_REPOSITORY:-GnosysLabs/Hop}
requested_version=${HOP_VERSION:-latest}
install_dir=${HOP_INSTALL_DIR:-"$HOME/.local/bin"}
install_skill=${HOP_INSTALL_SKILL:-1}
+2 -2
View File
@@ -15,7 +15,7 @@ New-Item -ItemType Directory -Path $fixtures, $payload | Out-Null
try {
$binary = Join-Path $payload "hop.exe"
& go build -trimpath `
-ldflags "-X githop.xyz/hop/hop/internal/hop.Version=9.9.9-installer-test" `
-ldflags "-X githop.xyz/GnosysLabs/Hop/internal/hop.Version=9.9.9-installer-test" `
-o $binary (Join-Path $root "cmd/hop")
if ($LASTEXITCODE -ne 0) { throw "Could not build installer test binary" }
@@ -55,7 +55,7 @@ try {
& (Join-Path $root "scripts/install.ps1") `
-GiteaUrl "https://gitea.test" `
-Repository "hop/hop" `
-Repository "GnosysLabs/Hop" `
-InstallDir $installDir `
-SkipSkill `
-SkipPath
Executable → Regular
+2 -2
View File
@@ -23,7 +23,7 @@ esac
asset="hop_${os}_${arch}.tar.gz"
mkdir -p "$tmp_dir/payload" "$tmp_dir/fixtures" "$tmp_dir/mock-bin" "$tmp_dir/home"
go build -trimpath \
-ldflags '-X githop.xyz/hop/hop/internal/hop.Version=9.9.9-installer-test' \
-ldflags '-X githop.xyz/GnosysLabs/Hop/internal/hop.Version=9.9.9-installer-test' \
-o "$tmp_dir/payload/hop" "$root/cmd/hop"
tar -czf "$tmp_dir/fixtures/$asset" -C "$tmp_dir/payload" hop
if command -v sha256sum >/dev/null 2>&1; then
@@ -67,7 +67,7 @@ HOME="$tmp_dir/home" \
PATH="$tmp_dir/mock-bin:$PATH" \
HOP_TEST_FIXTURES="$tmp_dir/fixtures" \
HOP_GITEA_URL="https://gitea.test" \
HOP_REPOSITORY="hop/hop" \
HOP_REPOSITORY="GnosysLabs/Hop" \
HOP_INSTALL_DIR="$tmp_dir/home/bin" \
HOP_MODIFY_PATH=0 \
sh "$root/scripts/install.sh"