azure-pipelines-tasks-webdeployment-common 4.219.1 → 4.222.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Strings/resources.resjson/en-US/resources.resjson +1 -1
- package/module.json +1 -1
- package/package.json +1 -1
- package/utility.d.ts +1 -0
- package/utility.js +6 -1
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"loc.messages.FailedToApplyTransformationReason1": "1. Whether the Transformation is already applied for the MSBuild generated package during build. If yes, remove the <DependentUpon> tag for each config in the csproj file and rebuild. ",
|
|
15
15
|
"loc.messages.FailedToApplyTransformationReason2": "2. Ensure that the config file and transformation files are present in the same folder inside the package.",
|
|
16
16
|
"loc.messages.FailedToApplyXMLvariablesubstitutionReason1": "Failed to apply XML variable substitution. Changes are already present in the package.",
|
|
17
|
-
"loc.messages.MissingArgumentsforXMLTransformation": "Incomplete or missing arguments. Expected format -transform <transform file> -xml <source file> -result <
|
|
17
|
+
"loc.messages.MissingArgumentsforXMLTransformation": "Incomplete or missing arguments. Expected format -transform <transform file> -xml <source file> -result <destination file>. Transformation and source file are mandatory inputs.",
|
|
18
18
|
"loc.messages.MorethanonepackagematchedwithspecifiedpatternPleaserestrainthesearchpattern": "More than one package matched with specified pattern: %s. Please restrain the search pattern.",
|
|
19
19
|
"loc.messages.JSONvariableSubstitution": "Applying JSON variable substitution for %s",
|
|
20
20
|
"loc.messages.SubstitutingValueonKey": "Substituting value on key: %s",
|
package/module.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"FailedToApplyTransformationReason1": "1. Whether the Transformation is already applied for the MSBuild generated package during build. If yes, remove the <DependentUpon> tag for each config in the csproj file and rebuild. ",
|
|
16
16
|
"FailedToApplyTransformationReason2": "2. Ensure that the config file and transformation files are present in the same folder inside the package.",
|
|
17
17
|
"FailedToApplyXMLvariablesubstitutionReason1": "Failed to apply XML variable substitution. Changes are already present in the package.",
|
|
18
|
-
"MissingArgumentsforXMLTransformation": "Incomplete or missing arguments. Expected format -transform <transform file> -xml <source file> -result <
|
|
18
|
+
"MissingArgumentsforXMLTransformation": "Incomplete or missing arguments. Expected format -transform <transform file> -xml <source file> -result <destination file>. Transformation and source file are mandatory inputs.",
|
|
19
19
|
"MorethanonepackagematchedwithspecifiedpatternPleaserestrainthesearchpattern": "More than one package matched with specified pattern: %s. Please restrain the search pattern.",
|
|
20
20
|
"JSONvariableSubstitution" : "Applying JSON variable substitution for %s",
|
|
21
21
|
"SubstitutingValueonKey" : "Substituting value on key: %s",
|
package/package.json
CHANGED
package/utility.d.ts
CHANGED
package/utility.js
CHANGED
|
@@ -9,8 +9,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.getFileNameFromPath = exports.archiveFolderForDeployment = exports.generateTemporaryFolderForDeployment = exports.copyDirectory = exports.isMSDeployPackage = exports.generateTemporaryFolderOrZipPath = exports.findfiles = exports.canUseWebDeploy = exports.copySetParamFileIfItExists = exports.fileExists = exports.isInputPkgIsFolder = void 0;
|
|
12
|
+
exports.getTempDirectory = exports.getFileNameFromPath = exports.archiveFolderForDeployment = exports.generateTemporaryFolderForDeployment = exports.copyDirectory = exports.isMSDeployPackage = exports.generateTemporaryFolderOrZipPath = exports.findfiles = exports.canUseWebDeploy = exports.copySetParamFileIfItExists = exports.fileExists = exports.isInputPkgIsFolder = void 0;
|
|
13
13
|
const path = require("path");
|
|
14
|
+
const os = require("os");
|
|
14
15
|
const tl = require("azure-pipelines-task-lib/task");
|
|
15
16
|
const packageUtility_1 = require("./packageUtility");
|
|
16
17
|
var zipUtility = require('azure-pipelines-tasks-webdeployment-common/ziputility.js');
|
|
@@ -220,3 +221,7 @@ function getFileNameFromPath(filePath, extension) {
|
|
|
220
221
|
return fileName;
|
|
221
222
|
}
|
|
222
223
|
exports.getFileNameFromPath = getFileNameFromPath;
|
|
224
|
+
function getTempDirectory() {
|
|
225
|
+
return tl.getVariable('agent.tempDirectory') || os.tmpdir();
|
|
226
|
+
}
|
|
227
|
+
exports.getTempDirectory = getTempDirectory;
|