marmot-release
Advanced tools
Comparing version 1.0.19 to 1.0.20
@@ -74,4 +74,5 @@ 'use strict'; | ||
const mapper = item => { | ||
const rootPath = item.path.split('/').slice(1).join('/'); | ||
const localPath = path.join(uncompressPath, item.path); | ||
const ossPath = path.join(prefix, item.path); | ||
const ossPath = path.join(prefix, rootPath); | ||
return uploadOne({ ossClient, ossPath, localPath, acl }); | ||
@@ -78,0 +79,0 @@ }; |
{ | ||
"name": "marmot-release", | ||
"version": "1.0.19", | ||
"version": "1.0.20", | ||
"description": "marmot release tool", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
8873
241