mirror of
https://github.com/DeBrosOfficial/orama.git
synced 2026-06-16 22:54:12 +00:00
fix(#72): correct ntfy upstream checksum URL
Upstream publishes the checksums asset as a plain "checksums.txt" at the release root, not "ntfy_<VER>_checksums.txt". The version-prefixed URL we were constructing 404'd, so InstallNtfy bailed in the download-binary step and ntfy never landed even after we wired InstallNtfy into the pre-built install path. Verified against the v2.11.0 release assets list. If a future version changes the naming convention, the install will 404 loud and this URL gets bumped in the same PR as ntfyVersion. VERSION bumped to 0.122.18.
This commit is contained in:
parent
7e47f42f91
commit
5c1404849b
@ -213,9 +213,14 @@ func (ni *NtfyInstaller) downloadBinary() error {
|
||||
tarballURL := fmt.Sprintf(
|
||||
"https://github.com/binwiederhier/ntfy/releases/download/v%s/%s",
|
||||
ntfyVersion, tarballName)
|
||||
// Upstream ntfy publishes the checksum file as plain "checksums.txt"
|
||||
// at the release root — NOT "ntfy_<VER>_checksums.txt". Verified
|
||||
// against the v2.11.0 release assets list. If a future ntfy version
|
||||
// changes the naming convention, this URL will 404 loud at install
|
||||
// time and the bump-ntfy-version PR should update it here.
|
||||
checksumsURL := fmt.Sprintf(
|
||||
"https://github.com/binwiederhier/ntfy/releases/download/v%s/ntfy_%s_checksums.txt",
|
||||
ntfyVersion, ntfyVersion)
|
||||
"https://github.com/binwiederhier/ntfy/releases/download/v%s/checksums.txt",
|
||||
ntfyVersion)
|
||||
|
||||
fmt.Fprintf(ni.logWriter, " Downloading %s...\n", tarballURL)
|
||||
client := &http.Client{Timeout: 5 * time.Minute}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@debros/orama",
|
||||
"version": "0.122.17",
|
||||
"version": "0.122.18",
|
||||
"description": "TypeScript SDK for Orama Network - Database, PubSub, Cache, Storage, Vault, and more",
|
||||
"type": "module",
|
||||
"main": "./dist/index.js",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user