diff --git a/.drone.yml b/.drone.yml index dbddad5..386bbb6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,6 +3,15 @@ kind: pipeline name: default steps: +- name: set version in Cargo.toml + image: rust:alpine + commands: + - echo "Setting Cargo.toml to version $DRONE_TAG:" + - sed -i -e "s/99\.99\.9/$(echo $DRONE_TAG | tr -d 'v')/" Cargo.toml + - cat Cargo.toml + when: + event: tag + - name: build Rust version image: rust:alpine commands: @@ -43,6 +52,6 @@ steps: - pull_request --- kind: signature -hmac: f4c306be9f3da10954bf1b98577846e87c768bfb20986778f9eef0ebad4a08ab +hmac: 1803e96c89318f604877c013907bfe34d50314a8f7dd16814adc69fe3330b415 ... diff --git a/Cargo.lock b/Cargo.lock index 0b46219..d321f22 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -91,7 +91,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "lagerist" -version = "0.1.5" +version = "99.99.9" dependencies = [ "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)", "ctrlc 3.1.3 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 788e8a2..863513c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lagerist" -version = "0.1.5" +version = "99.99.9" authors = ["Michael Ziegler "] edition = "2018"