Skip to content

Commit

Permalink
Merge pull request #644 from metal3-io-bot/cherry-pick-643-to-release…
Browse files Browse the repository at this point in the history
…-1.7

🌱 fix verify-release.sh to understand go directive better
  • Loading branch information
metal3-io-bot authored Aug 14, 2024
2 parents e2216e5 + 2fab517 commit 705fdd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/verify-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ _mutate_gomod_files_for_osv_scanner()
<(_get_golang_version_from_dockerfile)

for modfile in **/go.mod; do
sed -i.bak -e "s/^go [[:digit:]]\.[[:digit:]]\+/go ${tag}/" "${modfile}"
sed -i.bak -e "s/^go .*$/go ${tag}/" "${modfile}"
done
}

Expand Down

0 comments on commit 705fdd5

Please sign in to comment.