Skip to content

Commit a30fa97

Browse files
committed
build(pkgbuild): prefix advisory warnings with hint:
makepkg has no `hint` helper, so the warnings about missing `gh` / missing authentication read as if the script intends to perform the action itself. Prefix them with `hint:` to make their advisory nature explicit.
1 parent 7772949 commit a30fa97

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • template/parallel-disk-usage-bin

template/parallel-disk-usage-bin/PKGBUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ sha1sums=(
1919
prepare() {
2020
if ! command -v gh > /dev/null 2>&1; then
2121
warning 'GitHub CLI (gh) not found, skipping provenance verification.'
22-
warning 'Install the github-cli package to enable cryptographic verification of release artifacts.'
22+
warning 'hint: install the github-cli package to enable cryptographic verification of release artifacts.'
2323
return 0
2424
fi
2525

2626
if ! gh auth status > /dev/null 2>&1; then
2727
warning 'gh is not authenticated, skipping provenance verification.'
28-
warning 'Run `gh auth login` (or set GH_TOKEN) to enable cryptographic verification of release artifacts.'
28+
warning 'hint: run `gh auth login` (or set GH_TOKEN) to enable cryptographic verification of release artifacts.'
2929
return 0
3030
fi
3131

0 commit comments

Comments
 (0)