ci(nestjs-trpc): add build script and simplify release workflow#75
Merged
ci(nestjs-trpc): add build script and simplify release workflow#75
Conversation
Extract multi-platform Rust CLI build into scripts/build-cli.sh, simplify release.yml from 4 jobs to 2, add tag-triggered releases, add shellcheck linting for shell scripts, and scope git-cliff changelog to packages/nestjs-trpc changes only.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
Extracts multi-platform Rust CLI build logic into a reusable shell script and simplifies the CI release workflow from 4 jobs to 2. Adds tag-triggered releases and shellcheck linting for shell scripts.
Changes
scripts/build-cli.sh— handles Rust CLI build + binary placement for all platforms, with auto-detection for local dev and--targetflag for CI.github/workflows/release.yml— removeprepare/validatejobs, use build script in matrix, addv*tag trigger alongside manual dispatchlint:shscript and lint-staged entry for shellcheck on.shfilescliff.tomlwithinclude_pathsscoped topackages/nestjs-trpc/**so changelog only tracks library changesbuild:cliinpackages/nestjs-trpc/package.jsonto use the new script