Skip to content

Commit e6a08cf

Browse files
authored
build: update artifact CLI version to v0.6.7 (#505)
* build: update artifact CLI version to v0.6.7 * fix(artifact): use proper workflow scope name * fix(artifact): typos in specs
1 parent dae9e17 commit e6a08cf

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

release/create.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -euo pipefail
44

5-
ARTIFACT_CLI_VERSION="v0.6.6"
5+
ARTIFACT_CLI_VERSION="v0.6.7"
66
SPC_CLI_VERSION="v1.12.1"
77
WHEN_CLI_VERSION="v1.3.0"
88
# we include multiple when binaries for all suported Erlang versions

tests/artifacts.bats

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,29 @@ setup() {
77
echo "hello" > /tmp/unique-file-$SEMAPHORE_JOB_ID
88
}
99

10-
@test "artifacts - uploading to proect level" {
10+
@test "artifacts - uploading to project level" {
1111
run artifact push project /tmp/unique-file-$SEMAPHORE_JOB_ID
1212
assert_success
13+
assert_output --regexp "Pushed [0-9]+ files?\. Total of .+"
1314

1415

1516
run artifact yank project unique-file-$SEMAPHORE_JOB_ID
1617
assert_success
1718
}
1819

19-
@test "artifacts - uploading to workflows level" {
20-
run artifact push workflows /tmp/unique-file-$SEMAPHORE_JOB_ID
20+
@test "artifacts - uploading to workflow level" {
21+
run artifact push workflow /tmp/unique-file-$SEMAPHORE_JOB_ID
2122
assert_success
23+
assert_output --regexp "Pushed [0-9]+ files?\. Total of .+"
2224

23-
run artifact yank workflows unique-file-$SEMAPHORE_JOB_ID
25+
run artifact yank workflow unique-file-$SEMAPHORE_JOB_ID
2426
assert_success
2527
}
2628

2729
@test "artifacts - uploading to job level" {
2830
run artifact push job /tmp/unique-file-$SEMAPHORE_JOB_ID
2931
assert_success
32+
assert_output --regexp "Pushed [0-9]+ files?\. Total of .+"
3033

3134
run artifact yank job unique-file-$SEMAPHORE_JOB_ID
3235
assert_success
@@ -35,6 +38,7 @@ setup() {
3538
@test "artifacts - pulling should display size summary" {
3639
run artifact push job /tmp/unique-file-$SEMAPHORE_JOB_ID
3740
assert_success
41+
assert_output --regexp "Pushed [0-9]+ files?\. Total of .+"
3842

3943
run artifact pull job unique-file-$SEMAPHORE_JOB_ID
4044
assert_success

0 commit comments

Comments
 (0)