buildrelease.pl 398 B

12345678910111213141516171819
  1. #! /usr/bin/perl
  2. $release_files = 'source/utf8.h source/utf8/core.h source/utf8/checked.h source/utf8/unchecked.h doc/utf8cpp.html doc/ReleaseNotes';
  3. # First get the latest version
  4. `svn update`;
  5. # Then construct the name of the zip file
  6. $argc = @ARGV;
  7. if ($argc > 0) {
  8. $zip_name = $ARGV[0];
  9. }
  10. else {
  11. $zip_name = "utf8";
  12. }
  13. # Zip the files to an archive
  14. `zip $zip_name $release_files`;