Skip to content

Commit 7708370

Browse files
authored
Merge pull request #1 from johnstegeman/fix/sha256sums-filename
fix: upgrade checksum URL (v0.7.1)
2 parents d269264 + 778ae19 commit 7708370

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@ Versioning: [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
1111

1212
---
1313

14+
## [v0.7.1] — 2026-03-26
15+
16+
### Fixed
17+
18+
- **`hv upgrade` checksum verification** — the upgrade command was requesting
19+
`SHA256SUMS` but the release workflow publishes `haven-vX.Y.Z-SHA256SUMS`.
20+
This caused all self-upgrade attempts from v0.7.0 to fail with a 404 error.
21+
22+
---
23+
1424
## [v0.7.0] — 2026-03-26
1525

1626
### Added

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "haven"
3-
version = "0.7.0"
3+
version = "0.7.1"
44
edition = "2021"
55
description = "AI-first dotfiles & environment manager"
66
license = "MIT"

src/commands/upgrade.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ pub fn run(opts: &UpgradeOptions) -> Result<()> {
225225
REPO, latest
226226
);
227227
let archive_url = format!("{}/{}", base_url, archive_name);
228-
let shasums_url = format!("{}/SHA256SUMS", base_url);
228+
let shasums_url = format!("{}/haven-v{}-SHA256SUMS", base_url, latest);
229229

230230
println!("Downloading {}...", archive_name);
231231
let archive_bytes = download_bytes(&archive_url)

0 commit comments

Comments
 (0)