Re-add the logic setting LDFLAGS in scripts/stage.sh (Fixes: #496).
Re-add the logic setting LDFLAGS in scripts/stage.sh (Fixes: #496).

This fixes the regression introduced in: https://github.com/digitalocean/doctl/commit/6e988dfadee614295cd2ec979d658794bb32d847

The LDFLAGS are necessary for setting the correct version and labels
at build time when cutting a new release.

digitalocean/doctl,digitalocean/doctl