utfcpp/buildrelease.pl
ntrifunovic cc0f93fcfe Updated buildrelease.pl for the 2.0 source code structure
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@76 a809a056-fc17-0410-9590-b4f493f8b08e

Conflicts:
	v2_0/buildrelease.pl
2014-06-01 01:45:26 +02:00

18 lines
398 B
Perl
Executable file

#! /usr/bin/perl
$release_files = 'source/utf8.h source/utf8/core.h source/utf8/checked.h source/utf8/unchecked.h doc/utf8cpp.html doc/ReleaseNotes';
# First get the latest version
`svn update`;
# Then construct the name of the zip file
$argc = @ARGV;
if ($argc > 0) {
$zip_name = $ARGV[0];
}
else {
$zip_name = "utf8";
}
# Zip the files to an archive
`zip $zip_name $release_files`;