Moved Alarm Browser to fragment. Fixed bug introduced with submenu (selected item...
[public/netxms.git] / android / src / console / .externalToolBuilders / generate_build.pl
CommitLineData
9a2161a2
VK
1#!/usr/bin/perl
2
3$version = `svnversion`;
4chomp $version;
5if ($version =~ /[0-9]+\:([0-9]+)/)
6{
7 $version = $1;
8}
9print "Setting build number to $version\n";
10
11open(OUT, ">build_number.xml") || die "out: $!";
12
13print OUT "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
14print OUT "<resources>\n";
15print OUT "\t<string name=\"build_number\">$version</string>\n";
16print OUT "</resources>\n";
17
18close OUT;
19exit 0;