Fix the version checking

This commit is contained in:
Alessio 2021-11-29 15:31:10 -08:00
parent abbc525df9
commit 30c8553470

View File

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