mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-27 03:41:02 +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
1 changed files with 1 additions and 0 deletions
|
@ -250,6 +250,7 @@ pipeline:
|
||||||
publish_to_crates_io:
|
publish_to_crates_io:
|
||||||
image: *muslrust_image
|
image: *muslrust_image
|
||||||
commands:
|
commands:
|
||||||
|
- 'echo "pub const VERSION: &str = \"$(git describe --tag)\";" > "crates/utils/src/version.rs"'
|
||||||
- cargo install cargo-workspaces
|
- cargo install cargo-workspaces
|
||||||
- cp -r migrations crates/db_schema/
|
- cp -r migrations crates/db_schema/
|
||||||
- cargo login "$CARGO_API_TOKEN"
|
- cargo login "$CARGO_API_TOKEN"
|
||||||
|
|
Loading…
Reference in a new issue