Skip to content

Commit

Permalink
Merge pull request #32 from ThinkParQ/iamjoe/fix-check-go-version-script
Browse files Browse the repository at this point in the history
Fix go version check script
  • Loading branch information
iamjoemccormick authored Aug 9, 2024
2 parents a53f937 + b3478a5 commit d725743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/check-go-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# The GO_BUILD_VERSION is the official go version we are building the BeeGFS CSI driver with.
GO_BUILD_VERSION="go1.22.0"
INSTALLED_VERSION=$(go version | { read _ _ ver _; echo ${ver}; } ) || die "determining version of go failed"
INSTALLED_VERSION=$(go version | { read _ _ ver _; echo ${ver}; } ) || { echo >&2 "ERROR: determining version of go failed"; exit 1; }

if [ "$INSTALLED_VERSION" == "$GO_BUILD_VERSION" ]
then
Expand Down

0 comments on commit d725743

Please sign in to comment.