diff options
author | Kenneth Skovhede <kenneth@hexad.dk> | 2016-06-28 11:04:25 +0300 |
---|---|---|
committer | Kenneth Skovhede <kenneth@hexad.dk> | 2016-06-28 11:04:25 +0300 |
commit | c956a45364073dacd3f7ee4c2d0544985fd49d7e (patch) | |
tree | ed8441af95a46e0b882459e365c2b18eb989ee50 /build-release.sh | |
parent | 8c7811ae89c77073bd975863f0e724d686696a68 (diff) |
Updated build scripts to use nuget as that is now required to pull most thirdparty packages
Diffstat (limited to 'build-release.sh')
-rw-r--r-- | build-release.sh | 8 |
1 files changed, 7 insertions, 1 deletions
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 |