Skip to content

Commit

Permalink
Fix exit condition
Browse files Browse the repository at this point in the history
Signed-off-by: Harish Shan <[email protected]>
  • Loading branch information
perhapsmaple committed Aug 13, 2023
1 parent bdd1c1b commit 3363b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check-go-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if [ "${go_mod_version%.*}" != "${go_latest_version%.*}" ] || [ $((10#${go_lates
printf "Source file: %-50s | Go version: %s | Latest Version: %s\n" "./go.mod" "$go_mod_version" "$go_latest_version"
} | column -t -s '|'
echo "Run ./scripts/update-go-version.sh to update go.mod to correct go version."
# exit 1
exit 1
fi

# Extract go version from GitHub actions scripts
Expand Down

0 comments on commit 3363b95

Please sign in to comment.