phase1: maketag.sh: write version and version.date files as well