fix(workflows): use dynamic ${REPO} variable in release body URLs
Some checks failed
gobuild / build (push) Failing after 7s

Replace hardcoded gmgauthier/gostations path with ${REPO} variable so release install instructions work correctly regardless of repository owner or name.
This commit is contained in:
Greg Gauthier 2026-06-05 23:43:37 +01:00
parent cfdce2adc3
commit 1d2dfc1c8d

View File

@ -79,7 +79,7 @@ jobs:
-d "{
\"tag_name\": \"${VERSION}\",
\"name\": \"gostations ${VERSION}\",
\"body\": \"## Quick Install\n\n### Bash (Linux/macOS)\n\n\`\`\`bash\ncurl -L https://repos.gmgauthier.com/gmgauthier/gostations/releases/download/${VERSION}/gostations-install.sh | VERSION=${VERSION} bash\n\`\`\`\n\n### PowerShell (Windows/macOS/Linux)\n\n\`\`\`powershell\nirm https://repos.gmgauthier.com/gmgauthier/gostations/releases/download/${VERSION}/gostations-install.ps1 | iex\n\`\`\`\n\nPlatform binaries (tar.gz) + checksums.txt are attached. See README.md and CHANGELOG (if present) for details. Legacy wmenu UI still available with --legacy.\"
\"body\": \"## Quick Install\n\n### Bash (Linux/macOS)\n\n\`\`\`bash\ncurl -L https://repos.gmgauthier.com/${REPO}/releases/download/${VERSION}/gostations-install.sh | VERSION=${VERSION} bash\n\`\`\`\n\n### PowerShell (Windows/macOS/Linux)\n\n\`\`\`powershell\nirm https://repos.gmgauthier.com/${REPO}/releases/download/${VERSION}/gostations-install.ps1 | iex\n\`\`\`\n\nPlatform binaries (tar.gz) + checksums.txt are attached. See README.md and CHANGELOG (if present) for details. Legacy wmenu UI still available with --legacy.\"
}" > release.json
RELEASE_ID=$(jq .id release.json)