1
0
mirror of https://github.com/nushell/nushell.git synced 2025-07-14 21:35:58 +02:00

Merge pull request 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

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