mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-17 09:25:50 +00:00
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 <dessalines@users.noreply.github.com>
This commit is contained in:
parent
09099e7b90
commit
e97c30b930
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user