Skip to content

Commit 62c7e3c

Browse files
committed
Fix for upload task on Windows
1 parent 3f38b77 commit 62c7e3c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tasks/upload.rake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ namespace :vox do
2222
# Ensure the AWS CLI isn't going to fail with the given parameters
2323
run_command("#{s3} ls s3://#{bucket}/")
2424

25-
glob = "#{__dir__}/../output/**/*#{munged_tag}*"
25+
prepend = File.directory?('/cygdrive/') ? 'C:/cygwin64/' : ''
26+
glob = "#{prepend}#{__dir__}/../output/**/*#{munged_tag}*"
2627
if os
2728
# "arch" is not used here because we are currently horrifyingly
2829
# inconsistent with the platform -> package name

0 commit comments

Comments
 (0)