diff --git a/github-action/src/utils/makeManifest.ts b/github-action/src/utils/makeManifest.ts index d60201e7..4cd6ccd7 100644 --- a/github-action/src/utils/makeManifest.ts +++ b/github-action/src/utils/makeManifest.ts @@ -13,7 +13,7 @@ export function makeManifest(path: string) { //required entryPoint: "app-bundle.js", //required - version: "1.0.0" + version: "1.0.1" //TODO: add commit sha and github repo //timestamp: "string", //commitSha: "string", diff --git a/github-action/src/utils/uploadBundle.ts b/github-action/src/utils/uploadBundle.ts index 1cd5126c..1e6c815a 100644 --- a/github-action/src/utils/uploadBundle.ts +++ b/github-action/src/utils/uploadBundle.ts @@ -46,7 +46,7 @@ export async function uploadBundle( '', headers ); - if (publishResponse.message.statusCode !== 200) { + if (publishResponse.message.statusCode !== 201) { logInfo(`Failed to publish ${appKey}, code: ${r.message.statusCode}`, 'Red'); throw new Error(JSON.stringify(publishResponse.message)); }