fix 'make update-ui-version' (#933)

- When using a branch name rather than a commit, the branch was not being
  updated to the latest version.
pull/943/head
Sam Salisbury 5 years ago committed by GitHub
parent 958dba6d7f
commit 0e20514b2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -27,3 +27,5 @@ cd "${UI_CLONE_DIR}"
git reset --hard
git fetch origin "${UI_COMMITISH}"
git checkout "${UI_COMMITISH}"
git pull --ff-only origin "${UI_COMMITISH}"
git reset --hard "${UI_COMMITISH}"

Loading…
Cancel
Save