Skip to content
This repository was archived by the owner on Oct 28, 2023. It is now read-only.

Commit 2c8fa18

Browse files
committed
Add README to both published crates
1 parent d4a6698 commit 2c8fa18

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

.ci/crates_io_deploy.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,16 @@ if [ -z "$CRATES_TOKEN" ]; then
66
exit 1
77
fi
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
1318
sleep 5s
1419
cargo 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

cli/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
name = "texture-synthesis-cli"
33
description = "A CLI for texture-synthesis"
44
repository = "https://github.com/EmbarkStudios/texture-synthesis"
5-
version = "0.2.2"
5+
version = "0.2.3"
66
authors = [
77
"Embark <opensource@embark-studios.com>",
88
"anastasia opara <anastasiaopara@gmail.com>",
99
"tomasz stachowiak <h3@h3.gd>",
1010
]
1111
edition = "2018"
1212
license = "MIT OR Apache-2.0"
13-
readme = "../README.md"
13+
readme = "README.md"
1414
documentation = "https://docs.rs/texture-synthesis"
1515
homepage = "https://github.com/EmbarkStudios/texture-synthesis"
1616
categories = ["multimedia::images"]
@@ -26,4 +26,4 @@ indicatif = "0.11.0"
2626
piston_window = "0.85.0"
2727
rand = "0.6.4"
2828
structopt = "0.3.0"
29-
texture-synthesis = { version = "0.2.2", path = "../lib" }
29+
texture-synthesis = { version = "0.2.3", path = "../lib" }

lib/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
name = "texture-synthesis"
33
description = "Multiresolution Stochastic Texture Synthesis, a non-parametric example-based algorithm for image generation"
44
repository = "https://github.com/EmbarkStudios/texture-synthesis"
5-
version = "0.2.2"
5+
version = "0.2.3"
66
authors = [
77
"Embark <opensource@embark-studios.com>",
88
"anastasia opara <anastasiaopara@gmail.com>",
99
"tomasz stachowiak <h3@h3.gd>",
1010
]
1111
edition = "2018"
1212
license = "MIT OR Apache-2.0"
13-
readme = "../README.md"
13+
readme = "README.md"
1414
documentation = "https://docs.rs/texture-synthesis"
1515
homepage = "https://github.com/EmbarkStudios/texture-synthesis"
1616
categories = ["multimedia::images"]

0 commit comments

Comments
 (0)