git clone ssh://vmetalhead@git.code.sf.net/p/phpsane/code phpsane-code
git push --all
git push --tags
# Show tags
git tag
git tag -a REL-VERSION -m "Message"
git archive --format zip --output ../phpSANE-VERSION.zip REL-VERSION
git push --tags
Test example:
% unzip -t phpSANE-0.7.0.zip
Archive: phpSANE-0.7.0.zip
2703e06f076a00d7c7d2b13a324147c2058b7439
testing: .htaccess OK
testing: bilder/ OK
testing: bilder/black.gif OK
testing: bilder/clear.gif OK
testing: bilder/de.gif OK
testing: bilder/en.gif OK
testing: bilder/fi.gif OK
testing: bilder/fr.gif OK
testing: bilder/logo.jpg OK
testing: bilder/pl.gif OK
testing: bilder/ru.gif OK
testing: bilder/scan.jpg OK
testing: bilder/uk.gif OK
testing: css/ OK
testing: css/style.css OK
testing: doc/ OK
testing: doc/CHANGELOG OK
testing: doc/LICENSE OK
testing: doc/README_DE.txt OK
testing: doc/README_EN.txt OK
testing: doc/README_PL.txt OK
testing: help_0.php OK
testing: help_1.php OK
testing: help_2.php OK
testing: help_4.php OK
testing: incl/ OK
testing: incl/config.php OK
testing: incl/functions.php OK
testing: incl/language.php OK
testing: incl/menu.php OK
testing: incl/scan.php OK
testing: incl/security.php OK
testing: javascript/ OK
testing: javascript/js_fns.js OK
testing: javascript/ractangle.js OK
testing: output/ OK
testing: output/.gitignore OK
testing: phpsane.php OK
testing: save.php OK
testing: tmp/ OK
testing: tmp/.gitignore OK
No errors detected in compressed data of phpSANE-0.7.0.zip.