diff --git a/Tasks/DotNetCoreInstallerV0/Tests/L0.ts b/Tasks/DotNetCoreInstallerV0/Tests/L0.ts index 2bbc6928bb19..b46b189012c3 100644 --- a/Tasks/DotNetCoreInstallerV0/Tests/L0.ts +++ b/Tasks/DotNetCoreInstallerV0/Tests/L0.ts @@ -139,7 +139,7 @@ describe('DotNetCoreInstaller', function() { assert(tr.stdout.indexOf("loc_mock_ToolToInstall sdk 1.0.4") > -1, "should print to-be-installed info"); assert(tr.stdout.indexOf("Checking local tool for dncs and version 1.0.4") > -1, "should check for local cached tool"); assert(tr.stdout.indexOf("loc_mock_InstallingAfresh") > -1, "should install fresh if cache miss"); - assert(tr.stdout.indexOf("Changing attribute for file /somedir/currdir/externals/get-os-distro.sh to 777") > -1, "should iset executable attribute for install script"); + assert(tr.stdout.indexOf("Changing attribute for file /somedir/currdir/externals/get-os-distro.sh to 755") > -1, "should set executable attribute for install script"); assert(tr.stdout.indexOf("Downloading tool from https://primary-url") > -1, "should download from correct url"); assert(tr.stdout.indexOf("Extracting tar archive from "+process.env["AGENT_TEMPDIRECTORY"]+"/someArchive.tar") > -1, "Should extract downloaded archive corectly"); assert(tr.stdout.indexOf("Caching dir "+process.env["AGENT_TEMPDIRECTORY"]+"/someDir for tool dncs version 1.0.4") > -1, "should cache correctly"); diff --git a/Tasks/DotNetCoreInstallerV0/dotnetcoreinstaller.ts b/Tasks/DotNetCoreInstallerV0/dotnetcoreinstaller.ts index f898a327349c..6d917a69fd0f 100644 --- a/Tasks/DotNetCoreInstallerV0/dotnetcoreinstaller.ts +++ b/Tasks/DotNetCoreInstallerV0/dotnetcoreinstaller.ts @@ -77,7 +77,7 @@ class DotnetCoreInstaller { } else { let scriptPath = path.join(utilities.getCurrentDir(), 'externals', 'get-os-distro.sh'); - utilities.setFileAttribute(scriptPath, "777"); + utilities.setFileAttribute(scriptPath, "755"); scriptRunner = tl.tool(tl.which(scriptPath, true)); } diff --git a/Tasks/DotNetCoreInstallerV0/releasesfetcher.ts b/Tasks/DotNetCoreInstallerV0/releasesfetcher.ts index 4cc0f7b5df93..dc909b50d73d 100644 --- a/Tasks/DotNetCoreInstallerV0/releasesfetcher.ts +++ b/Tasks/DotNetCoreInstallerV0/releasesfetcher.ts @@ -100,7 +100,7 @@ export class DotNetCoreReleaseFetcher { legacyUrlSearchString = "dotnet-install: Legacy - "; } else { let escapedScript = path.join(utils.getCurrentDir(), 'externals', 'install-dotnet.sh').replace(/'/g, "''"); - utils.setFileAttribute(escapedScript, "777"); + utils.setFileAttribute(escapedScript, "755"); scriptRunner = taskLib.tool(taskLib.which(escapedScript, true)); scriptRunner.arg('--version'); scriptRunner.arg(version); diff --git a/Tasks/DotNetCoreInstallerV0/task.json b/Tasks/DotNetCoreInstallerV0/task.json index 7475bb8d2107..8342306db51c 100644 --- a/Tasks/DotNetCoreInstallerV0/task.json +++ b/Tasks/DotNetCoreInstallerV0/task.json @@ -13,7 +13,7 @@ "author": "Microsoft Corporation", "version": { "Major": 0, - "Minor": 198, + "Minor": 204, "Patch": 0 }, "satisfies": [ diff --git a/Tasks/DotNetCoreInstallerV0/task.loc.json b/Tasks/DotNetCoreInstallerV0/task.loc.json index 0fb11594427f..f13b4c62840e 100644 --- a/Tasks/DotNetCoreInstallerV0/task.loc.json +++ b/Tasks/DotNetCoreInstallerV0/task.loc.json @@ -13,7 +13,7 @@ "author": "Microsoft Corporation", "version": { "Major": 0, - "Minor": 198, + "Minor": 204, "Patch": 0 }, "satisfies": [ diff --git a/Tasks/DotNetCoreInstallerV1/task.json b/Tasks/DotNetCoreInstallerV1/task.json index b7b00d1c683a..f3fcc084cf95 100644 --- a/Tasks/DotNetCoreInstallerV1/task.json +++ b/Tasks/DotNetCoreInstallerV1/task.json @@ -13,7 +13,7 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 198, + "Minor": 204, "Patch": 0 }, "deprecated": true, diff --git a/Tasks/DotNetCoreInstallerV1/task.loc.json b/Tasks/DotNetCoreInstallerV1/task.loc.json index 1b2f66f6090f..f964f514b7c7 100644 --- a/Tasks/DotNetCoreInstallerV1/task.loc.json +++ b/Tasks/DotNetCoreInstallerV1/task.loc.json @@ -13,7 +13,7 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 198, + "Minor": 204, "Patch": 0 }, "deprecated": true, diff --git a/Tasks/DotNetCoreInstallerV1/versionfetcher.ts b/Tasks/DotNetCoreInstallerV1/versionfetcher.ts index c8f0adeea5a6..cd32a4961be8 100644 --- a/Tasks/DotNetCoreInstallerV1/versionfetcher.ts +++ b/Tasks/DotNetCoreInstallerV1/versionfetcher.ts @@ -226,7 +226,7 @@ export class DotNetCoreVersionFetcher { } else { let scriptPath = path.join(this.getCurrentDir(), 'externals', 'get-os-distro.sh'); - this.setFileAttribute(scriptPath, "777"); + this.setFileAttribute(scriptPath, "755"); scriptRunner = tl.tool(tl.which(scriptPath, true)); } diff --git a/Tasks/UseDotNetV2/Strings/resources.resjson/en-US/resources.resjson b/Tasks/UseDotNetV2/Strings/resources.resjson/en-US/resources.resjson index 1e36db680b8e..cb0a286383d3 100644 --- a/Tasks/UseDotNetV2/Strings/resources.resjson/en-US/resources.resjson +++ b/Tasks/UseDotNetV2/Strings/resources.resjson/en-US/resources.resjson @@ -97,4 +97,4 @@ "loc.messages.OnlyExplicitVersionAllowed": "Only explicit versions and accepted, such as: 2.2.301. Version: %s is not valid.", "loc.messages.SupportPhaseNotPresentInChannel": "support-phase is not present in the channel with channel-version %s.", "loc.messages.DepricatedVersionNetCore": "NET Core version you specfied %s is out of support and will be removed from hosted agents soon. Please refer to https://aka.ms/dotnet-core-support for more information about the .NET support policy." -} +} \ No newline at end of file diff --git a/Tasks/UseDotNetV2/task.json b/Tasks/UseDotNetV2/task.json index f3a562771712..7686b2c7a28f 100644 --- a/Tasks/UseDotNetV2/task.json +++ b/Tasks/UseDotNetV2/task.json @@ -13,8 +13,8 @@ "author": "Microsoft Corporation", "version": { "Major": 2, - "Minor": 198, - "Patch": 1 + "Minor": 204, + "Patch": 0 }, "satisfies": [ "DotNetCore" @@ -190,4 +190,4 @@ "SupportPhaseNotPresentInChannel": "support-phase is not present in the channel with channel-version %s.", "DepricatedVersionNetCore": "NET Core version you specfied %s is out of support and will be removed from hosted agents soon. Please refer to https://aka.ms/dotnet-core-support for more information about the .NET support policy." } -} +} \ No newline at end of file diff --git a/Tasks/UseDotNetV2/task.loc.json b/Tasks/UseDotNetV2/task.loc.json index 73063d5a4a2c..f8fbba60eeca 100644 --- a/Tasks/UseDotNetV2/task.loc.json +++ b/Tasks/UseDotNetV2/task.loc.json @@ -13,8 +13,8 @@ "author": "Microsoft Corporation", "version": { "Major": 2, - "Minor": 198, - "Patch": 1 + "Minor": 204, + "Patch": 0 }, "satisfies": [ "DotNetCore" @@ -190,4 +190,4 @@ "SupportPhaseNotPresentInChannel": "ms-resource:loc.messages.SupportPhaseNotPresentInChannel", "DepricatedVersionNetCore": "ms-resource:loc.messages.DepricatedVersionNetCore" } -} +} \ No newline at end of file diff --git a/Tasks/UseDotNetV2/versionfetcher.ts b/Tasks/UseDotNetV2/versionfetcher.ts index 6ae63b3ad9e8..eb25c539eb5b 100644 --- a/Tasks/UseDotNetV2/versionfetcher.ts +++ b/Tasks/UseDotNetV2/versionfetcher.ts @@ -258,7 +258,7 @@ export class DotNetCoreVersionFetcher { } else { let scriptPath = path.join(this.getCurrentDir(),'externals', 'get-os-distro.sh'); - this.setFileAttribute(scriptPath, "777"); + this.setFileAttribute(scriptPath, "755"); scriptRunner = tl.tool(tl.which(scriptPath, true)); }