From: Nutomic Date: Wed, 7 Jun 2023 00:24:06 +0000 (+0200) Subject: Set version name for crates.io release (#2928) X-Git-Url: http://these/git/readmes/README.ja.md?a=commitdiff_plain;h=e97c30b930199ef35ff0cf9e04a3b3b6e6b239b3;p=lemmy.git Set version name for crates.io release (#2928) * Set version name for crates.io release ref https://github.com/LemmyNet/lemmy-ui/issues/1052 * fix yml --------- Co-authored-by: Dessalines --- diff --git a/.woodpecker.yml b/.woodpecker.yml index 918a26af..ae1925a2 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -250,6 +250,7 @@ pipeline: publish_to_crates_io: image: *muslrust_image commands: + - 'echo "pub const VERSION: &str = \"$(git describe --tag)\";" > "crates/utils/src/version.rs"' - cargo install cargo-workspaces - cp -r migrations crates/db_schema/ - cargo login "$CARGO_API_TOKEN"