提交 d25b2a3e authored 作者: Travis Cross's avatar Travis Cross

ci: modify our copy of configure.in rather than the original

上级 3f1293fa
...@@ -38,18 +38,6 @@ fi ...@@ -38,18 +38,6 @@ fi
#stash_saved=1 #stash_saved=1
#fi #fi
sed -e "s|\(AC_SUBST(SWITCH_VERSION_MAJOR, \[\).*\(\])\)|\1$major\2|" \
-e "s|\(AC_SUBST(SWITCH_VERSION_MINOR, \[\).*\(\])\)|\1$minor\2|" \
-e "s|\(AC_SUBST(SWITCH_VERSION_MICRO, \[\).*\(\])\)|\1$micro\2|" \
-e "s|\(AC_INIT(\[freeswitch\], \[\).*\(\], BUG-REPORT-ADDRESS)\)|\1$major.$minor.$micro\2|" \
-i configure.in
if [ -n "$rev" ]; then
sed -e "s|\(AC_SUBST(SWITCH_VERSION_REVISION, \[\).*\(\])\)|\1$rev\2|" \
-e "s|#\(AC_SUBST(SWITCH_VERSION_REVISION\)|\1|" \
-i configure.in
fi
#git add configure.in #git add configure.in
#git commit -m "Release freeswitch-$ver" #git commit -m "Release freeswitch-$ver"
#git tag -a -m "freeswitch-$ver release" v$ver #git tag -a -m "freeswitch-$ver release" v$ver
...@@ -64,6 +52,18 @@ cp -r . $dst_dir ...@@ -64,6 +52,18 @@ cp -r . $dst_dir
cd $dst_dir cd $dst_dir
sed -e "s|\(AC_SUBST(SWITCH_VERSION_MAJOR, \[\).*\(\])\)|\1$major\2|" \
-e "s|\(AC_SUBST(SWITCH_VERSION_MINOR, \[\).*\(\])\)|\1$minor\2|" \
-e "s|\(AC_SUBST(SWITCH_VERSION_MICRO, \[\).*\(\])\)|\1$micro\2|" \
-e "s|\(AC_INIT(\[freeswitch\], \[\).*\(\], BUG-REPORT-ADDRESS)\)|\1$major.$minor.$micro\2|" \
-i configure.in
if [ -n "$rev" ]; then
sed -e "s|\(AC_SUBST(SWITCH_VERSION_REVISION, \[\).*\(\])\)|\1$rev\2|" \
-e "s|#\(AC_SUBST(SWITCH_VERSION_REVISION\)|\1|" \
-i configure.in
fi
./bootstrap.sh -j ./bootstrap.sh -j
mv bootstrap.sh rebootstrap.sh mv bootstrap.sh rebootstrap.sh
rm -f docs/AUTHORS rm -f docs/AUTHORS
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论