You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 18, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 18, 2024. It is now read-only.
Feat: Allow language parameter on build commands #1253
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+
@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
Activity
azlam-abdulsalam commentedon Mar 1, 2023
@petter-eikeland is this something that can be controlled using sfdx-project.json?
petter-eikeland commentedon Mar 3, 2023
@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 createparam sets the language for the package itself if I'm not mistakenpetter-eikeland commentedon Jul 18, 2023
Not relevant. Use case was fixed with https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs_def_file.htm#scratch_org_definition_file_options