add completely untested logic for repo publication on NRA