build: rudimentary staging support