No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

release.js 646B

1234567891011121314
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. const functions_1 = require("./functions");
  4. const projectUtils_1 = require("../../projectUtils");
  5. async function default_1(context, options) {
  6. if (!(context === null || context === void 0 ? void 0 : context.remoteconfigTemplate)) {
  7. return;
  8. }
  9. const template = context.remoteconfigTemplate;
  10. const projectNumber = await (0, projectUtils_1.needProjectNumber)(options);
  11. const etag = await (0, functions_1.getEtag)(projectNumber);
  12. return (0, functions_1.publishTemplate)(projectNumber, template, etag, options);
  13. }
  14. exports.default = default_1;