test updating website version file from ftp upload

This commit is contained in:
RaidMax 2020-01-15 15:06:05 -06:00
parent 8afdb6df6f
commit 191bde9d1c

View File

@ -84,6 +84,8 @@ steps:
script: |
echo changing to encoding for linux start script
dos2unix $(outputFolder)\StartIW4MAdmin.sh
echo creating website version filename
echo $(Version.Major).$(Version.Minor).$(Version.Build).$(Build.BuildId) > $(Build.Repository.LocalPath)\version_prerelease.txt
workingDirectory: '$(Build.Repository.LocalPath)\Application\BuildScripts'
- task: CopyFiles@2
@ -125,7 +127,9 @@ steps:
username: '$(FTPUsername)'
password: '$(FTPPassword)'
rootDirectory: '$(Build.ArtifactStagingDirectory)'
filePatterns: '*.zip'
filePatterns: |
'*.zip'
version_prerelease.txt
remoteDirectory: 'IW4MAdmin/Download'
clean: false
cleanContents: false