Skip to content

Commit 676d403

Browse files
committed
debugging readme check
1 parent fa80893 commit 676d403

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

auxiliary/update_cargo-readme.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@
33
our_version=$(cargo readme -V | perl -ne 'print $1 while /v([\d.]+)/g')
44
last_version=$(cargo search cargo-readme | perl -ne 'print $1 while /^cargo-readme = "([\d.]+)"/g')
55

6-
if [ "$our_version" == "$last_version" ]; then
6+
js=$(cargo search cargo-readme)
7+
8+
echo "our: $our_version"
9+
echo "remote: $last_version"
10+
echo "$js"
11+
12+
if [ ! -z "$last_version" -a "$our_version" == "$last_version" ]; then
713
echo Version $our_version is of cargo-readme is installed and up to date.
814
else
915
echo "Install cargo-readme"

0 commit comments

Comments
 (0)