update dist.sh to v1.2