Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Skovhede <kenneth@hexad.dk>2016-08-27 16:10:59 +0300
committerKenneth Skovhede <kenneth@hexad.dk>2016-08-27 16:10:59 +0300
commit4d4661ce165838c8503eb5c5ba48d8d3f11fb93a (patch)
treec4f9cb96b189629a3c09461643b7612ee917b31d /build-release.sh
parent541b1f6ab7ed9c5784a37afe4801a6ec880e7acd (diff)
Manually adding AlphaVSS files as they are no longer being picked up automatically, even though they are NuGet references.
Diffstat (limited to 'build-release.sh')
-rw-r--r--build-release.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/build-release.sh b/build-release.sh
index 6530d0dae..9943619f0 100644
--- a/build-release.sh
+++ b/build-release.sh
@@ -122,6 +122,12 @@ mkdir "${UPDATE_TARGET}"
cp -R Duplicati/GUI/Duplicati.GUI.TrayIcon/bin/Release/* "${UPDATE_SOURCE}"
cp -R Duplicati/Server/webroot "${UPDATE_SOURCE}"
+# We copy some files for alphavss manually as they are not picked up by xbuild
+mkdir "${UPDATE_SOURCE}/alphavss"
+for FN in "Duplicati/Library/Snapshots/bin/Release/SnapshotQuery.exe" "Duplicati/Library/Snapshots/bin/Release/AlphaShadow.exe" Duplicati/Library/Snapshots/bin/Release/AlphaVSS.*.*.dll; do
+ cp "${FN}" "${UPDATE_SOURCE}/alphavss/"
+done
+
if [ -e "${UPDATE_SOURCE}/control_dir" ]; then rm -rf "${UPDATE_SOURCE}/control_dir"; fi
if [ -e "${UPDATE_SOURCE}/Duplicati-server.sqlite" ]; then rm "${UPDATE_SOURCE}/Duplicati-server.sqlite"; fi
if [ -e "${UPDATE_SOURCE}/Duplicati.debug.log" ]; then rm "${UPDATE_SOURCE}/Duplicati.debug.log"; fi