add packageSourceCredentials

This commit is contained in:
Evgenii Korolevskii 2022-09-30 02:19:09 +02:00
parent bdd38d13dc
commit 467621733d
2 changed files with 7 additions and 0 deletions

3
dist/index.js vendored
View File

@ -163,6 +163,9 @@ function writeFeedToFile(feedUrl, existingFileLocation, tempFileLocation) {
]
});
});
xmlSource[1].configuration.push({
packageSourceCredentials
});
// If NuGet fixes itself such that on Linux it can look for environment variables in the config file (it doesn't seem to work today),
// use this for the value above
// process.platform == 'win32'

View File

@ -172,6 +172,10 @@ function writeFeedToFile(
});
});
xmlSource[1].configuration.push({
packageSourceCredentials
});
// If NuGet fixes itself such that on Linux it can look for environment variables in the config file (it doesn't seem to work today),
// use this for the value above
// process.platform == 'win32'