fixed the urls for uploading and downloading browser builds.
This commit is contained in:
@ -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 %>'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user