misc/build: include $REVISION in the archive