microsoft / powerplatform-actions

Power Platform GitHub Actions automate common build and deployment tasks related to Power Platform. This includes synchronization of solution metadata (a.k.a. solutions) between development environments and source control, generating build artifacts, deploying to downstream environments, provisioning/de-provisioning of environments, and the ability to perform static analysis checks against your solution using the PowerApps checker service.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update-solution-version does not allow you to specify the raw solution version (but PAC does)

BrainSlugs83 opened this issue · comments

commented

i.e. in pac, I can set the version manually, like:
solution online-version --solution-name MySolution --solution-version x.y.z.w

But in update-solution-version there is no parameter to support this; meaning that I would have to parse the version numbers manually, myself if I were to use it. -- This adds extra complexity to our builds, and seems like an oversight...

PAC CLI has two similar but different commands:

  • pac solution online-version sets the version within Dataverse, and accepts a Version formatted as x.y.z.w
  • pac solution version increments the version of a solution file on disk, using the version components

This action corresponds to that second command pac solution version, not pac solution online-version.