Remove backslash as it appears verbatim in build
All checks were successful
continuous-integration/drone/push Build is passing

The backslash in build yaml does not escape the newline but instead
occurs verbatim in the command, escaping the following whitespace
This commit is contained in:
Armin Friedl 2020-03-05 06:16:16 +01:00
parent b75e5528a7
commit 9a9f1cae87
Signed by: armin
GPG key ID: 48C726EEE7FBCBC8

View file

@ -25,9 +25,9 @@ steps:
commands:
- cargo build --release
- mkdir coffer-${DRONE_TAG}-x86_64-musl
- mv target/x86_64-unknown-linux-musl/release/coffer-server \
target/x86_64-unknown-linux-musl/release/coffer-client \
target/x86_64-unknown-linux-musl/release/coffer-companion \
- mv target/x86_64-unknown-linux-musl/release/coffer-server
target/x86_64-unknown-linux-musl/release/coffer-client
target/x86_64-unknown-linux-musl/release/coffer-companion
coffer-${DRONE_TAG}-x86_64-musl
- strip coffer-${DRONE_TAG}-x86_64-musl/coffer-server
- strip coffer-${DRONE_TAG}-x86_64-musl/coffer-client
@ -36,13 +36,13 @@ steps:
- name: package
image: alpine
commands:
- tar cjf coffer-${DRONE_TAG}-x86_64-musl.tar.bz2 \
coffer-${DRONE_TAG}-x86_64-musl/coffer-server \
coffer-${DRONE_TAG}-x86_64-musl/coffer-client \
- tar cjf coffer-${DRONE_TAG}-x86_64-musl.tar.bz2
coffer-${DRONE_TAG}-x86_64-musl/coffer-server
coffer-${DRONE_TAG}-x86_64-musl/coffer-client
coffer-${DRONE_TAG}-x86_64-musl/coffer-companion
- tar czf coffer-${DRONE_TAG}-x86_64-musl.tar.gz \
coffer-${DRONE_TAG}-x86_64-musl/coffer-server \
coffer-${DRONE_TAG}-x86_64-musl/coffer-client \
- tar czf coffer-${DRONE_TAG}-x86_64-musl.tar.gz
coffer-${DRONE_TAG}-x86_64-musl/coffer-server
coffer-${DRONE_TAG}-x86_64-musl/coffer-client
coffer-${DRONE_TAG}-x86_64-musl/coffer-companion
- name: publish