File tree Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 58
58
# used to release all artifacts
59
59
- name : goreleaser
60
60
version :
61
- want : v2.4.8
61
+ want : v2.5.0
62
62
method : github-release
63
63
with :
64
64
repo : goreleaser/goreleaser
@@ -111,15 +111,15 @@ tools:
111
111
# used for triggering a release
112
112
- name : gh
113
113
version :
114
- want : v2.63.2
114
+ want : v2.64.0
115
115
method : github-release
116
116
with :
117
117
repo : cli/cli
118
118
119
119
# used to upload test fixture cache
120
120
- name : oras
121
121
version :
122
- want : v1.2.1
122
+ want : v1.2.2
123
123
method : github-release
124
124
with :
125
125
repo : oras-project/oras
Original file line number Diff line number Diff line change 27
27
sh : uname -s | tr '[:upper:]' '[:lower:]'
28
28
ARCH :
29
29
sh : |
30
- [ "$(uname -m)" = "x86_64" ] && echo "amd64_v1" || echo $(uname -m)
30
+ [ "$(uname -m)" = "x86_64" ] && echo "amd64_v1" || { [ "$(uname -m)" = "aarch64" ] && echo "arm64_v8.0" || echo $(uname -m); }
31
31
PROJECT_ROOT :
32
32
sh : echo $PWD
33
33
# note: the snapshot dir must be a relative path starting with ./
@@ -237,8 +237,7 @@ tasks:
237
237
cmds :
238
238
- cmd : " echo 'testing binary: {{ .SNAPSHOT_BIN }}'"
239
239
silent : true
240
-
241
- - cmd : " test -f {{ .SNAPSHOT_BIN }} || (find {{ .SNAPSHOT_DIR }} && echo '\n no snapshot found' && false)"
240
+ - cmd : " test -f {{ .SNAPSHOT_BIN }} || (find {{ .SNAPSHOT_DIR }} && echo '\n no snapshot found for {{ .SNAPSHOT_BIN }}' && false)"
242
241
silent : true
243
242
244
243
- " go test -count=1 -timeout=15m -v ./test/cli"
@@ -452,7 +451,7 @@ tasks:
452
451
total_size=$(find . | grep cache | grep tar | xargs du -c | grep total | awk '{print $1}')
453
452
find . | grep cache | grep tar | xargs du
454
453
echo "total $total_size KB"
455
-
454
+
456
455
if [ "$total_size" -gt 1048576 ]; then
457
456
echo 'docker cache is larger than 1GB'
458
457
exit 1
Original file line number Diff line number Diff line change @@ -38,6 +38,12 @@ test_positive_snapshot_install_asset() {
38
38
local_suffix=" _v8.0"
39
39
fi
40
40
41
+ # note: this is a change made in goreleaser v2.5.0
42
+ if [ " ${arch} " == " ppc64le" ]; then
43
+ local_suffix=" _power8"
44
+ fi
45
+
46
+
41
47
assertFilesEqual \
42
48
" $( snapshot_dir) /${os} -build_${os} _${arch}${local_suffix} /${binary} " \
43
49
" ${expected_path} " \
You can’t perform that action at this time.
0 commit comments