Skip to content

Commit

Permalink
Revert "Revert "October Release (#590)" to test release failures (#593)…
Browse files Browse the repository at this point in the history
…" (#595)

This reverts commit ac6da93.
  • Loading branch information
tehcrashxor committed Oct 23, 2023
1 parent 88bb1ce commit b8ed54a
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 25 deletions.
1 change: 1 addition & 0 deletions extension/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Please use the issues tracker in the home repo: <https://github.com/microsoft/po

{{NextReleaseVersion}}:
- pac CLI 1.28.3 (September Refresh), [Release Notes on nuget.org](https://www.nuget.org/packages/Microsoft.PowerApps.CLI)
- `Power Platform Import Solution` now supports `StageAndUpgrade` to import the solution as Holding and immediately queue as an Upgrade in a single command. Previously, one would need to import as holding first, then run the `Power Platform Apply Solution Upgrade` as a second operation

2.0.42:
- pac CLI 1.27.6 (August Refresh), [Release Notes on nuget.org](https://www.nuget.org/packages/Microsoft.PowerApps.CLI)
Expand Down
48 changes: 24 additions & 24 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"yargs": "^17.7.2"
},
"dependencies": {
"@microsoft/powerplatform-cli-wrapper": "^0.1.116",
"@microsoft/powerplatform-cli-wrapper": "^0.1.118",
"azure-pipelines-task-lib": "^4.4.0",
"debug": "^4.3.4",
"fs-extra": "^11.1.1",
Expand Down
1 change: 1 addition & 0 deletions src/tasks/import-solution/import-solution-v2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export async function main(): Promise<void> {
async: parameterMap['AsyncOperation'],
maxAsyncWaitTimeInMin: parameterMap['MaxAsyncWaitTime'],
importAsHolding: parameterMap['HoldingSolution'],
stageAndUpgrade: parameterMap['StageAndUpgrade'],
forceOverwrite: parameterMap['OverwriteUnmanagedCustomizations'],
publishChanges: parameterMap['PublishCustomizationChanges'],
skipDependencyCheck: parameterMap['SkipProductUpdateDependencies'],
Expand Down
9 changes: 9 additions & 0 deletions src/tasks/import-solution/import-solution-v2/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,15 @@
"groupName": "advanced",
"helpMarkDown": "Specify whether to import as a holding solution to stage for an upgrade."
},
{
"name": "StageAndUpgrade",
"label": "Import the managed solution and immediately apply it as an upgrade.",
"type": "boolean",
"required": false,
"defaultValue": false,
"groupName": "advanced",
"helpMarkDown": "Specify whether to import the managed solution and apply as an upgrade."
},
{
"name": "OverwriteUnmanagedCustomizations",
"label": "Overwrite unmanaged customizations",
Expand Down
1 change: 1 addition & 0 deletions test/unit-test/import-solution.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ describe("import-solution tests", () => {
async: { name: 'AsyncOperation', required: true, defaultValue: true },
maxAsyncWaitTimeInMin: { name: 'MaxAsyncWaitTime', required: true, defaultValue: '60' },
importAsHolding: { name: 'HoldingSolution', required: false, defaultValue: false },
stageAndUpgrade: { name: 'StageAndUpgrade', required: false, defaultValue: false },
forceOverwrite: { name: 'OverwriteUnmanagedCustomizations', required: false, defaultValue: false },
publishChanges: { name: 'PublishCustomizationChanges', required: false, defaultValue: false },
skipDependencyCheck: { name: 'SkipProductUpdateDependencies', required: false, defaultValue: false },
Expand Down

0 comments on commit b8ed54a

Please sign in to comment.