Deploy files using Copy-Item, but first check if the code in the destination file has changed
since the last deployment.
Scenarios:
File does not exist at destination: Copy from code control. Create a hash file.
File exists at destination, but no hash file: Copy from code control. Create a hash file.
File exists at destination, matching hash file: Copy from code control. Create a new hash file.
File exists at destination, hash file does not match: two scenario's here:
a. SaveDiff not set: Show warning that destination file is different. Overwrite from code control. Create new hash file.
b. SaveDiff set: Show warning. Rename destination file. Copy from code control. Create new hash file.
Deploy files using Copy-Item, but first check if the code in the destination file has changed since the last deployment.
Scenarios: