Documentation cleanup #5
1 changed files with 16 additions and 5 deletions
21
.drone.yml
21
.drone.yml
|
@ -24,15 +24,26 @@ steps:
|
||||||
image: clux/muslrust
|
image: clux/muslrust
|
||||||
commands:
|
commands:
|
||||||
- cargo build --release
|
- cargo build --release
|
||||||
- strip target/x86_64-unknown-linux-musl/release/coffer-server
|
- mkdir coffer-${DRONE_TAG}-x86_64-musl
|
||||||
- strip target/x86_64-unknown-linux-musl/release/coffer-client
|
- mv target/x86_64-unknown-linux-musl/release/coffer-server \
|
||||||
- strip target/x86_64-unknown-linux-musl/release/coffer-companion
|
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
|
||||||
|
- strip coffer-${DRONE_TAG}-x86_64-musl/coffer-companion
|
||||||
|
|
||||||
- name: package
|
- name: package
|
||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- tar cjf coffer-${DRONE_TAG}-x86_64-musl.tar.bz2 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
|
- tar cjf coffer-${DRONE_TAG}-x86_64-musl.tar.bz2 \
|
||||||
- tar czf coffer-${DRONE_TAG}-x86_64-musl.tar.gz 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/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 \
|
||||||
|
coffer-${DRONE_TAG}-x86_64-musl/coffer-companion
|
||||||
|
|
||||||
- name: publish
|
- name: publish
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
|
|
Loading…
Reference in a new issue