This repository was archived by the owner on Oct 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +12
-7
lines changed
Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,16 @@ if [ -z "$CRATES_TOKEN" ]; then
66 exit 1
77fi
88
9- cargo publish --manifest-path " lib/Cargo.toml" --token " ${CRATES_TOKEN} "
9+ # Copy the README.md into both packages, as cargo package won't respect
10+ # files above the Cargo.toml root
11+ cp README.md lib
12+ cp README.md cli
13+
14+ cargo publish --manifest-path " lib/Cargo.toml" --token " ${CRATES_TOKEN} " --allow-dirty
1015
1116# HACK: Wait for a few seconds and then force index update via fetch so the
1217# next step doesn't fail. Maybe check out carg-publish-all
1318sleep 5s
1419cargo fetch
1520
16- cargo publish --manifest-path " cli/Cargo.toml" --token " ${CRATES_TOKEN} "
21+ cargo publish --manifest-path " cli/Cargo.toml" --token " ${CRATES_TOKEN} " --allow-dirty
Original file line number Diff line number Diff line change 22name = " texture-synthesis-cli"
33description = " A CLI for texture-synthesis"
44repository = " https://github.com/EmbarkStudios/texture-synthesis"
5- version = " 0.2.2 "
5+ version = " 0.2.3 "
66authors = [
77 " Embark <opensource@embark-studios.com>" ,
88 " anastasia opara <anastasiaopara@gmail.com>" ,
99 " tomasz stachowiak <h3@h3.gd>" ,
1010]
1111edition = " 2018"
1212license = " MIT OR Apache-2.0"
13- readme = " ../ README.md"
13+ readme = " README.md"
1414documentation = " https://docs.rs/texture-synthesis"
1515homepage = " https://github.com/EmbarkStudios/texture-synthesis"
1616categories = [" multimedia::images" ]
@@ -26,4 +26,4 @@ indicatif = "0.11.0"
2626piston_window = " 0.85.0"
2727rand = " 0.6.4"
2828structopt = " 0.3.0"
29- texture-synthesis = { version = " 0.2.2 " , path = " ../lib" }
29+ texture-synthesis = { version = " 0.2.3 " , path = " ../lib" }
Original file line number Diff line number Diff line change 22name = " texture-synthesis"
33description = " Multiresolution Stochastic Texture Synthesis, a non-parametric example-based algorithm for image generation"
44repository = " https://github.com/EmbarkStudios/texture-synthesis"
5- version = " 0.2.2 "
5+ version = " 0.2.3 "
66authors = [
77 " Embark <opensource@embark-studios.com>" ,
88 " anastasia opara <anastasiaopara@gmail.com>" ,
99 " tomasz stachowiak <h3@h3.gd>" ,
1010]
1111edition = " 2018"
1212license = " MIT OR Apache-2.0"
13- readme = " ../ README.md"
13+ readme = " README.md"
1414documentation = " https://docs.rs/texture-synthesis"
1515homepage = " https://github.com/EmbarkStudios/texture-synthesis"
1616categories = [" multimedia::images" ]
You can’t perform that action at this time.
0 commit comments