提交 836aa11c 编写于 作者: H Hou Tianze

Fix release.sh tagging; Add syncver.sh

上级 f7911ec6
......@@ -91,7 +91,7 @@ main() {
if [ "$tagit" -eq 1 ]
then
bypyversion=`grep __version__ bypy/const.py | sed -e "s/__version__ = '//g" -e "s/',//g"`
bypyversion=`grep __version__ bypy/const.py | sed -e "s/__version__ *= *'//g" -e "s/'//g"`
git tag
git tag "$bypyversion"
git push
......
#!/bin/bash
ver=`grep __version__ bypy/const.py | sed -e "s/__version__ *= *'//g" -e "s/'//g"`
sed -i -e "s/\(^.*\)\"recommendedVersion\".*$/\1\"recommendedVersion\": $ver,/g" update/update.json
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册