Skip to content

Commit

Permalink
Add Power_Platform_Tools_Feed to supported Nuget feeds. (#1031)
Browse files Browse the repository at this point in the history
Co-authored-by: Sandeep Satheesh <[email protected]>
  • Loading branch information
sanxsth and Sandeep Satheesh authored Sep 10, 2024
1 parent 8e6f043 commit afc98a2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gulpfile.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const packagedir = path.resolve('./package');
const feedPAT = argv.feedPAT || process.env['AZ_DevOps_Read_PAT'];
const isOfficialBuild = argv.isOfficialBuild && argv.isOfficialBuild.toLowerCase() == "true";
const isPreviewBuild = argv.isPreviewBuild && argv.isPreviewBuild.toLowerCase() == "true";
const feedName = argv.useFeed || 'nuget.org';

async function clean() {
(await pslist())
Expand Down Expand Up @@ -121,6 +122,10 @@ async function nugetInstall(nugetSource, packageName, version, targetDir) {
// https://dev.azure.com/msazure/One/_packaging?_a=feed&feed=CAP_ISVExp_Tools_Stable
baseUrl: 'https://pkgs.dev.azure.com/msazure/_packaging/b0441cf8-0bc8-4fad-b126-841a6184e784/nuget/v3/flat2/'
},
'Power_Platform_Tools_Feed': {
authenticated: true,
baseUrl: 'https://pkgs.dev.azure.com/dynamicscrm/OneCRM/_packaging/6f6505ca-e632-4c4c-9115-6d45f61758cc/nuget/v3/flat2/'
}
}

const selectedFeed = feeds[nugetSource];
Expand Down Expand Up @@ -350,7 +355,6 @@ async function snapshot() {
}
}

const feedName = 'nuget.org';
const cliVersion = '1.33.5';

const recompile = gulp.series(
Expand Down

0 comments on commit afc98a2

Please sign in to comment.