Commits

James Sumners committed 1da86b3

Modified the build script to also build an XPI of the most current Hg revision.

  • Participants
  • Parent commits 3705e61

Comments (0)

Files changed (1)

 fi
 
 if [ -f cacheviewer.xpi ]; then
-	rm cacheviewer.xpi
+	rm cacheviewer*.xpi
 fi
 
 zip -qr cacheviewer.xpi . -x \*.xpi \*.DS\* \*.hg\*/\* .hgignore .hgtags build.sh
+
+HGNODE=$(hg hist -r -1 --template "{node}")
+HGNODE=${HGNODE:0:12} # short form of Hg changeset id
+cp cacheviewer.xpi cacheviewer-${HGNODE}.xpi