Skip to content

Add fail if sha256sum does not present#55

Open
zkonak wants to merge 1 commit intomasterfrom
feat/sha256sum_fail
Open

Add fail if sha256sum does not present#55
zkonak wants to merge 1 commit intomasterfrom
feat/sha256sum_fail

Conversation

@zkonak
Copy link
Copy Markdown
Contributor

@zkonak zkonak commented Dec 18, 2024

Without this, there is an incomprehensible error if sha256sum does not present.

This fixes by determining the reason for error sha256sum not present

@zkonak zkonak requested a review from evrardjp December 18, 2024 15:16
Copy link
Copy Markdown
Contributor

@evrardjp-cagip evrardjp-cagip left a comment

Choose a reason for hiding this comment

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

go releaser install script is fetched from upstream. Can you do this in the Makefile OR propose a fix upstream instead?

Without this, there is an incomprehensible error if sha256sum does not present.

This fixes by determining the reason for error sha256sum not present
@zkonak zkonak force-pushed the feat/sha256sum_fail branch from 565b084 to fa07618 Compare December 19, 2024 13:04
Comment thread Makefile
mkdir -p $(HACKDIR)

bootstrap-tools: $(HACKDIR)
if ! command -v sha256sum &> /dev/null; then echo "sha256sum could not be found"; exit 1; fi
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is not valid in terms of Makefile. maybe check for @ or shell ?

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.

3 participants