Skip to content
代码片段 群组 项目
提交 a72260bd 编辑于 作者: Kamil Trzciński's avatar Kamil Trzciński
浏览文件

Check pre-release versions on RubyGems

上级 b228448e
No related branches found
No related tags found
无相关合并请求
......@@ -5,7 +5,13 @@ if [[ $# -ne 1 ]]; then
exit 1
fi
if ! gem specification --remote --ruby "$1"; then
echo "The '$1' is missing. Push stub gem to RubyGems with version 0.0.1."
exit 1
if gem specification --remote --ruby "$1"; then
exit 0
fi
if gem specification --remote --ruby --pre "$1"; then
exit 0
fi
echo "The '$1' is missing. Push stub gem to RubyGems with version 0.0.1."
exit 1
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册