diff --git a/.woodpecker.yml b/.woodpecker.yml index 479a936..ad40d6d 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -6,7 +6,8 @@ pipeline: event: [push, pull_request] image: rust:1.56.1-slim commands: - - echo nop + - "dir=$DRONE_REPO_NAME-$DRONE_TAG-${DRONE_ARCH/\//-}" + - "echo $dir" #- apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential libolm-dev cmake #- rustup component add clippy # TODO clippy one day @@ -20,7 +21,7 @@ pipeline: commands: #- apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential libolm-dev cmake #- cargo build --release - - "dir=$DRONE_REPO_NAME-$DRONE_TAG-$${DRONE_ARCH/'/'/-}" + - "dir=$DRONE_REPO_NAME-$DRONE_TAG-${DRONE_ARCH/\//-}" - "mkdir $dir" - cp target/release/mxmonzo $dir/ - tar cvf $dir.tar.gz $dir