Skip to content

Improve release notes order and binary install flow#3

Merged
keyskey merged 1 commit into
mainfrom
fix/release-notes-order-and-binary-install
Apr 26, 2026
Merged

Improve release notes order and binary install flow#3
keyskey merged 1 commit into
mainfrom
fix/release-notes-order-and-binary-install

Conversation

@keyskey

@keyskey keyskey commented Apr 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • remove forced alphabetical changelog sorting so GoReleaser release notes follow git commit chronology
  • add scripts/install.sh to install prebuilt binaries with auto-detected OS/arch and optional VERSION / INSTALL_DIR
  • simplify README binary installation docs to one-liners using the install script

Test plan

  • sh -n scripts/install.sh
  • gobce install script logic reviewed for darwin/linux amd64/arm64 paths
  • docs updated and lint check passed

Made with Cursor


Note

Low Risk
Low risk: release metadata and documentation updates plus a new standalone install script; main runtime code paths are unchanged.

Overview
Release notes generation is adjusted by removing the explicit changelog sorting in .goreleaser.yml, allowing notes to follow git commit chronology.

Adds scripts/install.sh, a POSIX sh installer that auto-detects OS/arch, resolves the latest (or VERSION-pinned) GitHub Release, downloads the matching tar.gz, and installs it to /usr/local/bin (or INSTALL_DIR).

Updates README.md to use one-line curl | sh examples for installing prebuilt binaries, including version pinning and custom install directory.

Reviewed by Cursor Bugbot for commit 5dd8f39. Bugbot is set up for automated code reviews on this repo. Configure here.

Use default commit-history ordering for GoReleaser changelog output and add a portable install script with simplified README one-liners for prebuilt binary installation.

Made-with: Cursor
@keyskey keyskey merged commit 98fd06c into main Apr 26, 2026
2 checks passed
@keyskey keyskey deleted the fix/release-notes-order-and-binary-install branch April 26, 2026 03:41

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 5dd8f39. Configure here.

Comment thread README.md
Install a specific version:

```bash
VERSION=v0.1.0 curl -fsSL "https://raw.githubusercontent.com/keyskey/gobce/main/scripts/install.sh" | sh

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Environment variables not propagated to piped sh process

High Severity

The VERSION and INSTALL_DIR variables in the install commands are not passed to the sh process. Shell prefix assignments (VAR=value cmd) only apply to the immediate command, not commands in a pipe. This causes the install script to silently ignore the user's specified version or install directory, falling back to defaults.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 5dd8f39. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant