Since we don't want to build packages for pull requests (as they cannot get archived as artifacts), we need a slightly different build command, and moving it to a script was cleaner.