mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 18:43:02 +01:00
Check svn exit codes in order to avoid half-done ChangeLog
This commit is contained in:
parent
bba27cb187
commit
a9bfdaa358
@ -9,9 +9,9 @@ WriteBuildNumFile="src/misc/writeBuildNum.sh"
|
|||||||
HeaderFile="src/jrd/build_no.h"
|
HeaderFile="src/jrd/build_no.h"
|
||||||
|
|
||||||
cd /home/fbadmin/changelogs/trunk
|
cd /home/fbadmin/changelogs/trunk
|
||||||
svn up
|
svn up || exit
|
||||||
svn log -v >$TempLog
|
svn log -v >$TempLog || exit
|
||||||
smallog <$TempLog >ChangeLog
|
smallog <$TempLog >ChangeLog || exit
|
||||||
|
|
||||||
VersionCount=`egrep -c '[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}' ChangeLog`
|
VersionCount=`egrep -c '[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}' ChangeLog`
|
||||||
BuildNo=$((${VersionCount}+${PositiveOffset}))
|
BuildNo=$((${VersionCount}+${PositiveOffset}))
|
||||||
|
Loading…
Reference in New Issue
Block a user