feat(install): one-line installer + correct README URLs#18
Closed
hmk wants to merge 3 commits into
Closed
Conversation
…names
The README pointed at try-bedazzled_Darwin_arm64.tar.gz but goreleaser
produces lowercase os strings AND embeds the version, so the actual file
was try-bedazzled_0.1.3_darwin_arm64.tar.gz — neither URL worked from
releases/latest/download/.
Drop {{ .Version }} from the archive name_template so files become
try-bedazzled_darwin_arm64.tar.gz, matching the version-less pattern
that releases/latest/download/ requires. Update README URLs to lowercase.
Also remove the "not notarized yet" Gatekeeper warning — releases since
v0.1.3 are signed and notarized.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…nction The previous README put the binary install and the shell-rc edit in separate sections, which is the #1 way users end up with a broken setup ("I installed it but `try` does nothing"). The shell function wrapper isn't optional — it's how `try` actually `cd`s into the selected directory. install.sh handles both in one command: - Detects darwin/linux × amd64/arm64 - Downloads the matching tarball from the latest release - Drops the binary in /usr/local/bin (or $TRY_INSTALL_DIR) - Detects the user's shell and appends `eval "$(try init)"` to the appropriate rc file - Idempotent: a second run sees the marker and skips the rc edit README now points at: curl -fsSL https://raw.githubusercontent.com/hmk/try-bedazzled/main/install.sh | sh Manual install paths (Go, raw download, deb/rpm) move to INSTALL.md. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Replace three lines that ribbed users for picking the calmer themes: - "or off, if you're a coward" → "every preference welcome" - "no rainbow (for grown-ups)" → "sparkle dialed back" - "people who hate joy" → "perfect for CI logs and quiet terminals" Unicorns and rainbow fuzzies the whole way through. 🦄 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The README install path is broken AND fragile. Two coordinated fixes:
Fix the broken URLs
README pointed at `try-bedazzled_Darwin_arm64.tar.gz` but goreleaser produces lowercase `darwin` AND prefixes with version (`try-bedazzled_0.1.3_darwin_arm64.tar.gz`), so neither URL resolved under `releases/latest/download/`.
Add a one-line install script
Even after fixing URLs, the previous README had install + shell-setup as separate sections, which is the #1 way users end up with a broken install ("I installed it but `try` does nothing"). The `eval "$(try init)"` wrapper isn't optional — it's how `try` actually `cd`s into the selected directory.
Test plan
🤖 Generated with Claude Code