Harmonize versions from a single VERSION file (#83) #86
No reviewers
Labels
No labels
bug
duplicate
enhancement
future
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
albert/shepherd-launcher!86
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "u/albert/83/harmonize-versions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The version string 0.1.0 was hardcoded in five independent places: the
Cargo workspace, the excluded shepherd-firewall-bpf crate, the webui
package.json/lock, the Android versionName, and scripts/shepherd.
Introduce a repo-root VERSION file as the single canonical source:
so they can never drift.
are written from VERSION by
shepherd version setand verified against itby
shepherd version check, which a new lightweight CI job runs.Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01PS1JAJm78UH8x8PK1FdK41
Fixes #83
The version string 0.1.0 was hardcoded in five independent places: the Cargo workspace, the excluded shepherd-firewall-bpf crate, the webui package.json/lock, the Android versionName, and scripts/shepherd. Introduce a repo-root VERSION file as the single canonical source: * scripts/shepherd and companion-android's Gradle build read it directly, so they can never drift. * Cargo and npm can't read a file at manifest-parse time, so their literals are written from VERSION by `shepherd version set` and verified against it by `shepherd version check`, which a new lightweight CI job runs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PS1JAJm78UH8x8PK1FdK41