Commit 62fdc098 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

circleci: Avoid dashes in package version numbers

This wouldn't trigger on the master branch on account of having the
version trunk.
parent 8484cbc2
......@@ -82,7 +82,7 @@ jobs:
if grep 'AC_INIT.*trunk.*' ./configure.ac; then
sed -i -e "s/AC_INIT(\[\(.*\)\],\s*\[\(.*\)\],\s*\[\(.*\)\])/AC_INIT([\1],[$(date +%Y%m%d)],[\3])/" ./configure.ac
else
sed -i -e "s/AC_INIT(\[\(.*\)\],\s*\[\(.*\)\],\s*\[\(.*\)\])/AC_INIT([\1],[\2-$(date +%Y%m%d)],[\3])/" ./configure.ac
sed -i -e "s/AC_INIT(\[\(.*\)\],\s*\[\(.*\)\],\s*\[\(.*\)\])/AC_INIT([\1],[\2.$(date +%Y%m%d)],[\3])/" ./configure.ac
fi
./autogen.des
make dist -j 16
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment