Skip to content

Commit 4ee52c9

Browse files
committed
Fail upload task if it can't find files to upload
1 parent d5bf5a3 commit 4ee52c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tasks/upload.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace :vox do
1818

1919
prepend = File.directory?('/cygdrive/') ? 'C:/cygwin64/' : ''
2020
files = Dir.glob("#{prepend}#{__dir__}/../output/*#{munged_tag}*#{platform}*")
21-
puts 'No files for the given tag found in the output directory.' if files.empty?
21+
abort 'No files for the given tag found in the output directory.' if files.empty?
2222

2323
path = "s3://#{bucket}/#{repo}/#{args[:tag]}"
2424
files.each do |f|

0 commit comments

Comments
 (0)