also reset cargo.toml...
This commit is contained in:
parent
a392f5755c
commit
e2f31a5e75
@ -3,7 +3,7 @@ name = "mouse"
|
||||
authors = ["Jochen Maes <jochen@sejo-it.be>"]
|
||||
description = "Information gatherer for systems."
|
||||
# this will be overwritten during builds! so ignore
|
||||
version = "v0.1.3-next-"
|
||||
version = "0.0.0"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
@ -7,7 +7,8 @@ ADC=${DRONE_COMMIT:0:7}
|
||||
if [[ "${LTCOMMIT}" == "${ADC}" ]]; then
|
||||
VERSION="${DRONE_TAG##v}"
|
||||
else
|
||||
VERSION="${LTAG}-next-${ADV}"
|
||||
VERSION="${LTAG##v}-next-${ADV}"
|
||||
fi
|
||||
|
||||
sed -i "s/0\\.0\\.0/${VERSION}/" Cargo.toml
|
||||
cat Cargo.toml
|
||||
|
Loading…
Reference in New Issue
Block a user