diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2018-11-14 14:35:38 +0100 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2018-11-14 16:08:01 +0100 |
| commit | 59435a8d0f14115b7beebb02948c8d982769162f (patch) | |
| tree | dd61547a621a403ac5c72eceeff6a2d7b7f4ed4a | |
| parent | f9dd559faf98f913d86e86a6ff2773bb6539852e (diff) | |
| download | mullvadvpn-59435a8d0f14115b7beebb02948c8d982769162f.tar.xz mullvadvpn-59435a8d0f14115b7beebb02948c8d982769162f.zip | |
Remove check that rustc matches a given version on production builds
| -rwxr-xr-x | build.sh | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -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" |
