Skip to content
Snippets Groups Projects
Unverified Commit e97c30b9 authored by Nutomic's avatar Nutomic Committed by GitHub
Browse files

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: default avatarDessalines <dessalines@users.noreply.github.com>
parent 09099e7b
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment