 x validate source
	cd /usr/local/webadmin
	find virtual-server*/* -name "*.cgi" -o -name "*.pl" | xargs -l1 perl -c |& grep -v OK
	find virtualmin-*/* -name "*.cgi" -o -name "*.pl" | grep -v nuvola | xargs -l1 perl -c |& grep -v OK

 x run functional-test.pl
	x fudu
	x lentor
	x xencentos

 x Generate british english with :
	cd /usr/local/webadmin
	./fix-english.pl --svn "English conversion" virtual-server
	./fix-english.pl --svn "English conversion" gpl-virtual-server
	./fix-english.pl --svn "English conversion" virtual-server-theme

 x copy in GIT to branch directory

 x Create tar.gz file
	./gpl-virtual-server/createvirtualminmodule.sh $ver /tmp/virtual-server-$ver.wbm.gz
	./create-module.pl --sign virtualmin/virtual-server-theme-$themever.wbt.gz virtual-server-theme

 x build RPM and .deb
	./makemodulerpm.pl --sign --dir virtual-server --allow-overwrite gpl-virtual-server
	./makemodulerpm.pl --sign --allow-overwrite --epoch 2 virtual-server-theme
	./makemoduledeb.pl --dir virtual-server --allow-overwrite gpl-virtual-server
	./makemoduledeb.pl --allow-overwrite virtual-server-theme

 x Upload to download.webmin.com:htdocs/download/virtualmin/
	scp /tmp/virtual-server-$ver.wbm.gz* webadmin@download.webmin.com:domains/download.webmin.com/public_html/download/virtualmin/
	scp /usr/src/redhat/RPMS/noarch/wbm-virtual-server-$ver-1.noarch.rpm /usr/src/redhat/SRPMS/wbm-virtual-server-$ver-1.src.rpm webadmin@download.webmin.com:domains/download.webmin.com/public_html/download/virtualmin/
	scp /tmp/webmin-virtual-server_${ver}_all.deb webadmin@download.webmin.com:domains/download.webmin.com/public_html/download/virtualmin/

 x Upload theme
	scp virtualmin/virtual-server-theme-$themever.wbt.gz* webadmin@download.webmin.com:domains/download.webmin.com/public_html/download/virtualmin/
	scp /usr/src/redhat/RPMS/noarch/wbt-virtual-server-theme-$themever-1.noarch.rpm webadmin@download.webmin.com:domains/download.webmin.com/public_html/download/virtualmin/
	scp /tmp/webmin-virtual-server-theme_${themever}_all.deb webadmin@download.webmin.com:domains/download.webmin.com/public_html/download/virtualmin/

 x Create signatures for all new packages
	~/webmin.com/create-update-sigs.pl

 - Add to website
	- Mention plugins too

 - Add to freshmeat.net

 - Announce on mailing list

 - Add to updates.txt

 x Release plugins

