summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2018-11-14 14:35:38 +0100
committerLinus Färnstrand <linus@mullvad.net>2018-11-14 16:08:01 +0100
commit59435a8d0f14115b7beebb02948c8d982769162f (patch)
treedd61547a621a403ac5c72eceeff6a2d7b7f4ed4a
parentf9dd559faf98f913d86e86a6ff2773bb6539852e (diff)
downloadmullvadvpn-59435a8d0f14115b7beebb02948c8d982769162f.tar.xz
mullvadvpn-59435a8d0f14115b7beebb02948c8d982769162f.zip
Remove check that rustc matches a given version on production builds
-rwxr-xr-xbuild.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/build.sh b/build.sh
index 8cd1f1456a..5c299606c1 100755
--- a/build.sh
+++ b/build.sh
@@ -19,16 +19,6 @@ PRODUCT_VERSION=$(node -p "require('./gui/packages/desktop/package.json').versio
source env.sh
if [[ "${1:-""}" != "--dev-build" ]]; then
-
- REQUIRED_RUSTC_VERSION="rustc 1.30.0 (da5f414c2 2018-10-24)"
-
- if [[ $RUSTC_VERSION != $REQUIRED_RUSTC_VERSION ]]; then
- echo "You are running the wrong Rust compiler version."
- echo "You are running $RUSTC_VERSION, but this project requires $REQUIRED_RUSTC_VERSION"
- echo "for release builds."
- exit 1
- fi
-
if [[ $(git diff --shortstat 2> /dev/null | tail -n1) != "" ]]; then
echo "Dirty working directory!"
echo "You should only build releases in clean working directories in order to make it"