implement pushy update
This commit is contained in:
parent
c89fd2f3c6
commit
8a0d48dc62
@ -5,6 +5,7 @@
|
||||
const {
|
||||
get,
|
||||
post,
|
||||
put,
|
||||
uploadFile,
|
||||
} = require('./api');
|
||||
import { question } from './utils';
|
||||
@ -100,7 +101,9 @@ export const commands = {
|
||||
const { appId } = await getSelectedApp(platform);
|
||||
const version = await chooseVersion(appId);
|
||||
const pkg = await choosePackage(appId);
|
||||
console.log(version);
|
||||
console.log(pkg);
|
||||
await put(`/app/${appId}/package/${pkg.id}`, {
|
||||
versionId: version.id,
|
||||
});
|
||||
console.log('Ok.');
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user