write SCM tag information after build was completed to avoid deletion of file