Skip to content
This repository was archived by the owner on Mar 18, 2024. It is now read-only.
This repository was archived by the owner on Mar 18, 2024. It is now read-only.

Feat: Allow language parameter on build commands #1253

Closed as not planned
Closed as not planned

Description

@petter-eikeland

Describe the bug
Not able to use language parameter which is supported by sfdx package version create on sfpowerscripts build & quickbuild commands

https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_force_package.htm#cli_reference_force_package_version_create

To Reproduce
Steps to reproduce the behavior:
Run sfdx sfpowerscripts:orchestrator:build -v devhub --branch $(Build.SourceBranch) --diffcheck --buildnumber $(Build.BuildId) -f config/project-scratch-def.json --language no

Get error ERROR running sfpowerscripts:orchestrator:build: Unexpected arguments: --language, no

Expected behavior
Language parameter passed to sfdx package version create command used by sfpowerscripts

Platform Details (please complete the following information):

  • OS: Linux
  • Version [e.g. CLI Version eg: 1.6.6] LATEST (20.20.3)
  • Salesforce CLI(sfdx cli) Version: 7.186.2
  • CI Platform: Azure DevOps

Additional context
Language parameter also useful due to various language bugs in sfdx introduced by Spring 23, MDAPI 57 & sfdx versions 7.182+

Activity

  1. added
    analysis
    on Mar 1, 2023
  2. azlam-abdulsalam commented on Mar 1, 2023

    @azlam-abdulsalam
    Contributor

    @petter-eikeland is this something that can be controlled using sfdx-project.json?

  3. petter-eikeland commented on Mar 3, 2023

    @petter-eikeland
    Author

    @azlam-abdulsalam I haven't found a parameter in sfdx-project.json that sets the language. And the language param in project-scratch-def.json should override the default language for the build org, but the package version create param sets the language for the package itself if I'm not mistaken
    Screenshot 2023-03-03 at 09 55 11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    analysis

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions