test updating website version file from ftp upload
This commit is contained in:
parent
8afdb6df6f
commit
191bde9d1c
@ -84,6 +84,8 @@ steps:
|
|||||||
script: |
|
script: |
|
||||||
echo changing to encoding for linux start script
|
echo changing to encoding for linux start script
|
||||||
dos2unix $(outputFolder)\StartIW4MAdmin.sh
|
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'
|
workingDirectory: '$(Build.Repository.LocalPath)\Application\BuildScripts'
|
||||||
|
|
||||||
- task: CopyFiles@2
|
- task: CopyFiles@2
|
||||||
@ -125,7 +127,9 @@ steps:
|
|||||||
username: '$(FTPUsername)'
|
username: '$(FTPUsername)'
|
||||||
password: '$(FTPPassword)'
|
password: '$(FTPPassword)'
|
||||||
rootDirectory: '$(Build.ArtifactStagingDirectory)'
|
rootDirectory: '$(Build.ArtifactStagingDirectory)'
|
||||||
filePatterns: '*.zip'
|
filePatterns: |
|
||||||
|
'*.zip'
|
||||||
|
version_prerelease.txt
|
||||||
remoteDirectory: 'IW4MAdmin/Download'
|
remoteDirectory: 'IW4MAdmin/Download'
|
||||||
clean: false
|
clean: false
|
||||||
cleanContents: false
|
cleanContents: false
|
||||||
|
Loading…
Reference in New Issue
Block a user