dev/ci: fetch before update/changelog check, remove debug print
Created by: bobheadxi
Ran into this:
➜ sourcegraph git:(fix-ci-logs) ✗ sg version changelog
⚠️ update check: error getting new commits since fc1e1b36e0aad85fc280d0d3e00db757f1db9606 in ./dev/sg: 'git rev-list fc1e1b36e0aad85fc280d0d3e00db757f1db9606..origin/main ./dev/sg' failed: fatal: Invalid revision range fc1e1b36e0aad85fc280d0d3e00db757f1db9606..origin/main: exit status 128 - try reinstalling sg with:
curl --proto '=https' --tlsv1.2 -sSLf https://install.sg.dev | sh
I'm pretty sure this just happened because I updated sg
to a revision I don't yet have locally
Test plan
sg update
, sg version c