Fix the version checking
This commit is contained in:
parent
abbc525df9
commit
30c8553470
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user