8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 16:43:03 +01:00

Added some debugging output to buildNo generation

This commit is contained in:
AlexPeshkoff 2023-02-01 19:22:29 +03:00
parent 5a33345856
commit 97fe97f4e3

View File

@ -24,6 +24,11 @@ OrgBuildNo=$(grep "FB_BUILD_NO" $BuildNoFile | cut -d'"' -f2)
Count=$(git rev-list $Filter --count $Branch)
Skip1=$(git rev-list $Filter --grep="increment build number" --count $Branch)
Skip2=$(git rev-list $Filter --grep="nightly update" --count $Branch)
git rev-list $Filter $Branch >~/Count.$Branch
git rev-list $Filter --grep="increment build number" $Branch >~/Skip1.$Branch
git rev-list $Filter --grep="nightly update" $Branch >~/Skip2.$Branch
NewBuildNo=$(($Count-$Skip1-$Skip2+$Adjust))
if [ "$NewBuildNo" != "$OrgBuildNo" ]; then