Skip to content

Commit

Permalink
Merge pull request #1890 from metal3-io-bot/cherry-pick-1888-to-relea…
Browse files Browse the repository at this point in the history
…se-0.6

🌱 fix verify-release.sh to understand go directive better
  • Loading branch information
metal3-io-bot authored Aug 15, 2024
2 parents a3586f9 + 7c694e4 commit f986be5
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 @@ -639,7 +639,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 f986be5

Please sign in to comment.