Remove backslash as it appears verbatim in build
All checks were successful
continuous-integration/drone/push Build is passing
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:
parent
b75e5528a7
commit
9a9f1cae87
1 changed files with 9 additions and 9 deletions
18
.drone.yml
18
.drone.yml
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue