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:
anonpenguin23 2026-05-14 14:29:24 +03:00
parent 7e47f42f91
commit 5c1404849b
3 changed files with 9 additions and 4 deletions

View File

@ -1 +1 @@
0.122.17
0.122.18

View File

@ -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}

View File

@ -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",