feat: add one-command install scripts and automated release pipeline#13
Merged
Conversation
liangshaoteng
commented
Jul 8, 2026
Collaborator
- .github/workflows/release.yml: triggered on git tag vX.Y.Z; builds linux-x86_64, linux-aarch64, and windows-x64 packages, generates a combined SHA256SUMS, and publishes a GitHub Release via softprops/action-gh-release. workflow_dispatch is also supported for dry-run packaging without cutting a release.
- scripts/install.sh: Linux one-command installer. Detects x86_64 or aarch64, fetches the matching tarball from GitHub Releases, verifies SHA256, extracts to --prefix (default /usr/local), and finishes with ldconfig plus symlinks under /usr/local/lib.
- scripts/install.ps1: Windows x64 one-command installer. Verifies SHA256, installs to %ProgramFiles%\LinkerHand\cpp-sdk (overridable), appends the prefix to the user's CMAKE_PREFIX_PATH, and offers an optional -AddToPath switch.
- CMakeLists.txt: introduces the LINKERHAND_SDK_VERSION cache variable (default 2.0.0) so CI can inject the git tag via -DLINKERHAND_SDK_VERSION=, keeping tag, tarball filename, and CMake config version in sync.
- cmake/linkerhand-cpp-sdk-config-version.cmake becomes a .cmake.in template; configure_file writes the versioned copy before install.
- README.md: adds a one-command install section at the top of the quick-start guide (Linux and Windows).
- INSTALL.md: new document covering installation, version pinning, offline install, uninstall, and FAQ for downstream users.
- .github/workflows/release.yml: triggered on git tag vX.Y.Z; builds linux-x86_64, linux-aarch64, and windows-x64 packages, generates a combined SHA256SUMS, and publishes a GitHub Release via softprops/action-gh-release. workflow_dispatch is also supported for dry-run packaging without cutting a release. - scripts/install.sh: Linux one-command installer. Detects x86_64 or aarch64, fetches the matching tarball from GitHub Releases, verifies SHA256, extracts to --prefix (default /usr/local), and finishes with ldconfig plus symlinks under /usr/local/lib. - scripts/install.ps1: Windows x64 one-command installer. Verifies SHA256, installs to %ProgramFiles%\LinkerHand\cpp-sdk (overridable), appends the prefix to the user's CMAKE_PREFIX_PATH, and offers an optional -AddToPath switch. - CMakeLists.txt: introduces the LINKERHAND_SDK_VERSION cache variable (default 2.0.0) so CI can inject the git tag via -DLINKERHAND_SDK_VERSION=<tag>, keeping tag, tarball filename, and CMake config version in sync. - cmake/linkerhand-cpp-sdk-config-version.cmake becomes a .cmake.in template; configure_file writes the versioned copy before install. - README.md: adds a one-command install section at the top of the quick-start guide (Linux and Windows). - INSTALL.md: new document covering installation, version pinning, offline install, uninstall, and FAQ for downstream users.
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.