Skip to content

fix: replace raw echo with output helpers in git/make-preview#669

Merged
credfeto merged 1 commit into
mainfrom
fix/645-replace-echo-with-helpers-in-make-preview
Jun 6, 2026
Merged

fix: replace raw echo with output helpers in git/make-preview#669
credfeto merged 1 commit into
mainfrom
fix/645-replace-echo-with-helpers-in-make-preview

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented Jun 6, 2026

Summary

  • Updated die() in git/make-preview to the standard implementation (printf with red ✗ to stderr)
  • Added info() and success() output helpers following the project shell-script conventions
  • Replaced bare echo "Using Branch: $BRANCH" with info "Using Branch: $BRANCH"
  • Added success "Branch $BRANCH created and pushed" on completion

Closes #645

Test plan

  • Run shellcheck git/make-preview — no warnings
  • Verify DOTNET_PREVIEW_VERSION unset triggers die with red ✗ on stderr and exits non-zero
  • Verify happy path shows → Using Branch: … and ✓ Branch … created and pushed

Updated die() to the standard implementation (printf with red ✗ to
stderr) and added info() and success() helpers. Replaced the bare
echo with info "Using Branch: …" and added a success message on
completion.

Closes #645

Prompt: Work on issue #645 in credfeto/scripts. Replace raw echo with output helpers in git/make-preview.
@github-actions github-actions Bot added the auto-pr Pull request created automatically label Jun 6, 2026
@dnyw4l3n13 dnyw4l3n13 marked this pull request as draft June 6, 2026 12:17
@dnyw4l3n13 dnyw4l3n13 added AI-Work Work for an AI Agent Urgent Urgent Priority labels Jun 6, 2026
@dnyw4l3n13 dnyw4l3n13 marked this pull request as ready for review June 6, 2026 12:21
@dnyw4l3n13
Copy link
Copy Markdown
Collaborator

All CI checks passed (build-pre-release ✓, pull-request ✓). No outstanding review comments. PR marked as ready for review.

@credfeto
Copy link
Copy Markdown
Owner

credfeto commented Jun 6, 2026

Super-linter summary

Language Validation result
BASH Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

@dnyw4l3n13
Copy link
Copy Markdown
Collaborator

All CI checks pass (build-pre-release ✓, lint-code ✓, BASH linting ✓, valid-changelog ✓, and all other required checks ✓). No review comments or change requests. PR is ready and awaiting human approval.

@credfeto credfeto enabled auto-merge June 6, 2026 13:00
@credfeto credfeto merged commit 80f0c60 into main Jun 6, 2026
46 checks passed
@credfeto credfeto deleted the fix/645-replace-echo-with-helpers-in-make-preview branch June 6, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI-Work Work for an AI Agent auto-pr Pull request created automatically Urgent Urgent Priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace raw echo with output helpers in git/make-preview

2 participants