Skip to content

Commit 935a127

Browse files
committed
Remove useless check in publish script [skip ci].
1 parent 6e9bf4a commit 935a127

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

scripts/publish.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,6 @@ for CRATE in ${CRATES[@]}; do
1414
echo "INFO : processing crate ${CRATE}."
1515
pushd $CRATE > /dev/null
1616

17-
VERSION="$(cargo pkgid | cut -d# -f2)"
18-
19-
if ! curl -s -o /dev/null -w '%{http_code}' https://github.com/apognu/knox/tree/v${VERSION} | grep 200 > /dev/null; then
20-
echo "ERROR: tag v${VERSION} does not exist in upstream git repository."
21-
exit 1
22-
fi
23-
2417
cp Cargo.toml Cargo.toml.bak
2518
sed -i 's/build =.*/build = false/' Cargo.toml
2619
sed -i '/^\[dev-dependencies\]/,/^$/d' Cargo.toml

0 commit comments

Comments
 (0)