Merge pull request #733 from vsoch/fix/docker-nightly-build

Don't run nu at end of release build
This commit is contained in:
Jonathan Turner 2019-09-30 10:53:24 +13:00 committed by GitHub
commit 7269cf7427
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@ ENV PATH=/root/.cargo/bin:$PATH
COPY . /code COPY . /code
RUN echo "##vso[task.prependpath]/root/.cargo/bin" && \ RUN echo "##vso[task.prependpath]/root/.cargo/bin" && \
rustc -Vv && \ rustc -Vv && \
if $RELEASE; then cargo build --release && cargo run --release; \ if $RELEASE; then cargo build --release; \
cp target/release/nu /usr/local/bin; \ cp target/release/nu /usr/local/bin; \
else cargo build; \ else cargo build; \
cp target/debug/nu /usr/local/bin; fi; cp target/debug/nu /usr/local/bin; fi;