提交 18568916 编写于 作者: Z Zachary Yedidia

Update nightly release script to not duplicate nightlies

上级 8a250f7d
# This script creates the nightly release on Github for micro
# You must have the correct Github access token to run this script
commitID=$(git rev-parse HEAD)
info=$(github-release info -u zyedidia -r micro -t nightly)
if [[ $info = *$commitID* ]]; then
echo "No new commits since last nightly"
exit 1
fi
echo "Deleting old release"
github-release delete \
--user zyedidia \
--repo micro \
--tag nightly
commitID=$(git rev-parse HEAD)
echo "Moving tag"
git tag --force nightly $commitID
git push --force --tags
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册