mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(travis): fix build error
This commit is contained in:
@@ -43,8 +43,7 @@ function run {
|
||||
exit 0
|
||||
fi
|
||||
|
||||
LATEST_TAG=$(git describe --tags --abbrev=0)
|
||||
LATEST_TAG_COMMIT=$(git rev-list $LATEST_TAG | head -n 1)
|
||||
LATEST_TAG_COMMIT=$(git rev-list $(git describe --tags --abbrev=0) | head -n 1)
|
||||
|
||||
if [[ "$TRAVIS_COMMIT" == "$LATEST_TAG_COMMIT" ]]; then
|
||||
IS_RELEASE=true
|
||||
|
||||
Reference in New Issue
Block a user