LSIF: Shellcheck
Created by: efritz
De-bashify the upload script so we can use it in an alpine image for github actions without adding 50MB to every action run by installing bash.
Also ensure that this script remains runnable without bash with a shellcheck stage in our CI pipeline.
This depends on https://github.com/sourcegraph/infrastructure/pull/1658.