fixed the urls for uploading and downloading browser builds.

This commit is contained in:
Spencer Alger
2013-12-21 18:09:57 -07:00
parent d3c7532b3f
commit f9be330999
3 changed files with 21 additions and 31 deletions

View File

@ -5,34 +5,24 @@ try {
module.exports = {
options: {
key: config.key,
secret: config.secret,
bucket: 'download.elasticsearch.org',
access: 'public-read',
headers: {
'Content-Type': 'text/plain',
'X-Content-Type-Options': 'nosniff',
'Content-Disposition': 'attachment'
upload_archives: {
upload: [
{
src: '<%= distDir %>/archives/*',
dest: 'elasticsearch/elasticsearch-js/'
}
],
options: {
key: config.key,
secret: config.secret,
bucket: 'download.elasticsearch.org',
access: 'public-read',
headers: {
'Content-Type': 'text/plain',
'X-Content-Type-Options': 'nosniff',
'Content-Disposition': 'attachment'
}
}
},
latest: {
upload: [
{
src: '<%= distDir %>/archives/*',
dest: 'elasticsearch/elasticsearch-js/master'
}
]
},
release: {
upload: [
{
src: '<%= distDir %>/archives/*',
dest: 'elasticsearch/elasticsearch-js/<%= package.version %>'
}
]
}
};