We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe2a439 commit c81e536Copy full SHA for c81e536
tools/update-oss.sh
@@ -27,7 +27,7 @@ git checkout --quiet main && git pull --rebase --quiet
27
have="$(go list -f '{{.Version}}' -m "$module" | cut -d- -f3)"
28
want="$(
29
gh api -q '.content|@base64d' repos/"${repo}"/contents/go.mod |
30
- grep -E "\b${module}\b" | cut -d' ' -f2 | cut -d- -f3
+ grep -E "\b${module} " | cut -d' ' -f2 | cut -d- -f3
31
)"
32
if [[ "$have" = "$want" ]] ; then
33
echo "Module $module is up-to-date at commit $have" 1>&2
0 commit comments