Skip to content

Commit 9d87f4b

Browse files
Pin exact version of diffus-derive for diffus with derive feature
1 parent ca925cc commit 9d87f4b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

diffus/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ snake_case = { version = "0.2", optional = true }
3737

3838
serde = { version = "1.0", features = [ "derive" ], optional = true }
3939

40-
diffus-derive = { version = "0.9.0", path = "../diffus-derive", optional = true }
40+
diffus-derive = { version = "=0.9.0", path = "../diffus-derive", optional = true }
4141

4242

4343
[features]

publish.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ cargo_publish () {
4444
-iname Cargo.toml \
4545
-not -path "./target/*" \
4646
-exec sed -i 's/^version = .*$/version = "'"${VERSION}"'"/g' '{}' \; \
47-
-exec sed -i 's/^\(diffus-derive = { version = "\)\([0-9]*\.[0-9]*\.[0-9]*\)\(".*\)$/\1'"${VERSION}"'\3/g' '{}' \; \
47+
-exec sed -i 's/^\(diffus-derive = { version = "\)\(=[0-9]*\.[0-9]*\.[0-9]*\)\(".*\)$/\1='"${VERSION}"'\3/g' '{}' \; \
4848
-exec git add '{}' \;
4949

5050
git diff origin/master

0 commit comments

Comments
 (0)