mirror of
https://github.com/anchore/syft.git
synced 2026-10-30 14:02:26 +01:00
bump goreleaser to v1.10.3 (#1123)
Co-authored-by: Christopher Phillips <christopher.phillips@anchore.com>
This commit is contained in:
co-authored by
Christopher Phillips
parent
d1729ee7e2
commit
62897fbc89
@@ -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}" \
|
||||
|
||||
Reference in New Issue
Block a user