From c956a45364073dacd3f7ee4c2d0544985fd49d7e Mon Sep 17 00:00:00 2001 From: Kenneth Skovhede Date: Tue, 28 Jun 2016 10:04:25 +0200 Subject: Updated build scripts to use nuget as that is now required to pull most thirdparty packages --- build-release.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'build-release.sh') diff --git a/build-release.sh b/build-release.sh index 8b75d8bfd..e38b1f8e6 100644 --- a/build-release.sh +++ b/build-release.sh @@ -26,6 +26,7 @@ UPDATER_KEYFILE="${HOME}/Dropbox/Privat/Duplicati-updater-release.key" GPG_KEYFILE="${HOME}/Dropbox/Privat/Duplicati-updater-gpgkey.key" GITHUB_TOKEN_FILE="${HOME}/.config/github-api-token" XBUILD=/Library/Frameworks/Mono.framework/Commands/xbuild +NUGET=/Library/Frameworks/Mono.framework/Commands/nuget GPG=/usr/local/bin/gpg2 if [ "${RELEASE_TYPE}" == "nightly" ]; then @@ -89,7 +90,12 @@ fi rm -rf "Duplicati/GUI/Duplicati.GUI.TrayIcon/bin/Release" -mono "BuildTools/UpdateVersionStamp/bin/Debug/UpdateVersionStamp.exe" --version="${RELEASE_VERSION}" +${XBUILD} /property:Configuration=Release BuildTools/UpdateVersionStamp/UpdateVersionStamp.csproj +mono "BuildTools/UpdateVersionStamp/bin/Release/UpdateVersionStamp.exe" --version="${RELEASE_VERSION}" + +${NUGET} restore "BuildTools/AutoUpdateBuilder/AutoUpdateBuilder.sln" +${NUGET} restore Duplicati.sln + ${XBUILD} /p:Configuration=Debug "BuildTools/AutoUpdateBuilder/AutoUpdateBuilder.sln" ${XBUILD} /p:Configuration=Release Duplicati.sln -- cgit v1.2.3