Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to deploy Plugin using flag patch/minor/.. #20

Open
paulodecarvalho opened this issue Oct 1, 2021 · 0 comments
Open

Unable to deploy Plugin using flag patch/minor/.. #20

paulodecarvalho opened this issue Oct 1, 2021 · 0 comments

Comments

@paulodecarvalho
Copy link

Hello,

When I tried to deploy a plugin with minor flag

const ggePlugin = new FlexPlugin("gge-plugin", { 
  attributes: {
    cwd: "../gge-plugin",
    env: pulumi.all([domain, domainInline]).apply(([ domain, domainInline ]) => (
      {
        REACT_APP_TWILIO_GGE_SERVICE_DOMAIN: `https://${domain}`,
        REACT_APP_TWILIO_GGE_SERVICE_INLINE_DOMAIN: `https://${domainInline}`,
      }
    )),
    release: true,
    minor:true,
  }
});

I got this error

 pulumi-nodejs:dynamic:Resource (gge-plugin):
    error: Error: Command failed: twilio flex:plugins:deploy --changelog="deployed by infra as code"--minor
     »   Error: Unexpected argument:--minor
     »   See more help with --help

there is no space between changelog and --minor.

On source file, I see a strange character :
file : deployFlexPlugin.js

    ['major', 'minor', 'patch', 'public'].forEach(flag => {
        if (attributes[flag]) {
            result.push(`�--${flag}`);
        }
    });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant