Sign app for publishing (#38)
* Sign app for publishing * update gitignore * refactor input args * Change instance api sorting * Better instance sorting * Instance filter * remove hardcoded instance * script cleanups * Unused function
This commit is contained in:
1 parent
4640a34863
commit
7a155c689e
15 files changed
+636
-252
No files matched your search
+16
-11
@@ -1,14 +1,19 @@
|
||||
var rokuDeploy = require('roku-deploy');
|
||||
const rokuDeploy = require('roku-deploy');
|
||||
|
||||
const zip_name = 'playlet.zip'
|
||||
|
||||
rokuDeploy.zipPackage({
|
||||
const options = {
|
||||
outDir: 'release',
|
||||
outFile: zip_name,
|
||||
outFile: 'playlet.zip',
|
||||
//BUG: rokuDeploy does not read stagingDir properly fron config
|
||||
stagingDir: 'dist/build'
|
||||
}).then(function(){
|
||||
console.log(`${zip_name} created`)
|
||||
}, function(error) {
|
||||
console.error(error);
|
||||
});
|
||||
stagingDir: 'dist/build',
|
||||
retainStagingDir: true
|
||||
};
|
||||
|
||||
(async () => {
|
||||
try {
|
||||
await rokuDeploy.zipPackage(options);
|
||||
console.log(`${options.outFile} created`);
|
||||
}
|
||||
catch (error) {
|
||||
console.error(error);
|
||||
}
|
||||
})();
|
||||
Reference in new issue
Block a user