From ce3119425fdff4ce4164d01637f923d2abd7fea2 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Sat, 20 Nov 2021 20:37:11 -0600 Subject: [PATCH] try renable FTP publish --- DeploymentFiles/deployment-pipeline.yml | 56 ++++++++++++------------- Plugins/ScriptPlugins/ParserIW4x.js | 2 +- 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/DeploymentFiles/deployment-pipeline.yml b/DeploymentFiles/deployment-pipeline.yml index 96b8a5956..b9391784b 100644 --- a/DeploymentFiles/deployment-pipeline.yml +++ b/DeploymentFiles/deployment-pipeline.yml @@ -139,35 +139,35 @@ steps: archiveFile: '$(Build.ArtifactStagingDirectory)/IW4MAdmin-$(Build.BuildNumber).zip' replaceExistingArchive: true -#- task: FtpUpload@2 -# displayName: 'Upload zip file to website' -# inputs: -# credentialsOption: 'inputs' -# serverUrl: '$(FTPUrl)' -# username: '$(FTPUsername)' -# password: '$(FTPPassword)' -# rootDirectory: '$(Build.ArtifactStagingDirectory)' -# filePatterns: '*.zip' -# remoteDirectory: 'IW4MAdmin/Download' -# clean: false -# cleanContents: false -# preservePaths: false -# trustSSL: false +- task: FtpUpload@2 + displayName: 'Upload zip file to website' + inputs: + credentialsOption: 'inputs' + serverUrl: '$(FTPUrl)' + username: '$(FTPUsername)' + password: '$(FTPPassword)' + rootDirectory: '$(Build.ArtifactStagingDirectory)' + filePatterns: '*.zip' + remoteDirectory: 'IW4MAdmin/Download' + clean: false + cleanContents: false + preservePaths: false + trustSSL: false -#- task: FtpUpload@2 -# displayName: 'Upload version info to website' -# inputs: -# credentialsOption: 'inputs' -# serverUrl: '$(FTPUrl)' -# username: '$(FTPUsername)' -# password: '$(FTPPassword)' -# rootDirectory: '$(Build.ArtifactStagingDirectory)' -# filePatterns: 'version_$(releaseType).txt' -# remoteDirectory: 'IW4MAdmin' -# clean: false -# cleanContents: false -# preservePaths: false -# trustSSL: false +- task: FtpUpload@2 + displayName: 'Upload version info to website' + inputs: + credentialsOption: 'inputs' + serverUrl: '$(FTPUrl)' + username: '$(FTPUsername)' + password: '$(FTPPassword)' + rootDirectory: '$(Build.ArtifactStagingDirectory)' + filePatterns: 'version_$(releaseType).txt' + remoteDirectory: 'IW4MAdmin' + clean: false + cleanContents: false + preservePaths: false + trustSSL: false - task: GitHubRelease@1 displayName: 'Make GitHub release' diff --git a/Plugins/ScriptPlugins/ParserIW4x.js b/Plugins/ScriptPlugins/ParserIW4x.js index 4f9bbe466..5dac1a50c 100644 --- a/Plugins/ScriptPlugins/ParserIW4x.js +++ b/Plugins/ScriptPlugins/ParserIW4x.js @@ -18,7 +18,7 @@ var plugin = { rconParser.Configuration.CommandPrefixes.Say = 'sayraw {0}'; rconParser.Configuration.CommandPrefixes.Kick = 'clientkick {0} "{1}"'; rconParser.Configuration.CommandPrefixes.Ban = 'clientkick {0} "{1}"'; - rconParser.Configuration.CommandPrefixes.TempBan = 'tempbanclient {0} "{1}"' + rconParser.Configuration.CommandPrefixes.TempBan = 'tempbanclient {0} "{1}"'; rconParser.Configuration.DefaultRConPort = 28960; rconParser.Configuration.DefaultInstallationDirectoryHint = 'HKEY_CURRENT_USER\\Software\\Classes\\iw4x\\shell\\open\\command';