Fix build file for non-release branches

This commit is contained in:
Alessio 2021-12-12 15:16:01 -08:00
parent 0f4c501779
commit 2475f3d3e9

View File

@ -99,7 +99,7 @@ tasks:
SECONDS=0
cd twitter_offline_engine/build
version=$(git branch --show-current | grep -Poh "(?<=^release-)\d+\.\d+\.\d+"); true
version=$(git branch --show-current | grep -Poh "(?<=^release-)\d+\.\d+\.\d+") || true
if [[ -z "$version" ]]
then