bump goreleaser to v1.10.3 (#1123)

Co-authored-by: Christopher Phillips <christopher.phillips@anchore.com>
This commit is contained in:
Weston Steimel
2022-07-28 17:10:32 +00:00
committed by GitHub
co-authored by Christopher Phillips
parent d1729ee7e2
commit 62897fbc89
5 changed files with 17 additions and 5 deletions
+6
View File
@@ -26,6 +26,12 @@ test_positive_snapshot_install_asset() {
expected_path="${install_dir}/${binary}"
assertFileExists "${expected_path}" "install_asset os=${os} arch=${arch} format=${format}"
# directory structure for arch has been updated as of go 1.18
# https://goreleaser.com/customization/build/#why-is-there-a-_v1-suffix-on-amd64-buildsjk
if [ $arch == "amd64" ]; then
arch="amd64_v1"
fi
assertFilesEqual \
"$(snapshot_dir)/${os}-build_${os}_${arch}/${binary}" \
"${expected_path}" \