bumped version number to 0.14.3 and updated set_version.py

This commit is contained in:
Arvid Norberg 2009-03-20 07:38:47 +00:00
parent c683126ea3
commit 907532be8e
2 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,7 @@ POSSIBILITY OF SUCH DAMAGE.
#define LIBTORRENT_VERSION_MAJOR 0 #define LIBTORRENT_VERSION_MAJOR 0
#define LIBTORRENT_VERSION_MINOR 15 #define LIBTORRENT_VERSION_MINOR 15
#define LIBTORRENT_VERSION_TINY 0
#define LIBTORRENT_VERSION "0.15.0.0" #define LIBTORRENT_VERSION "0.15.0.0"
#define LIBTORRENT_REVISION "$Rev$" #define LIBTORRENT_REVISION "$Rev$"

View File

@ -11,6 +11,8 @@ def substitute_file(name):
l = '#define LIBTORRENT_VERSION_MAJOR %d\n' % version[0] l = '#define LIBTORRENT_VERSION_MAJOR %d\n' % version[0]
elif '#define LIBTORRENT_VERSION_MINOR' in l: elif '#define LIBTORRENT_VERSION_MINOR' in l:
l = '#define LIBTORRENT_VERSION_MINOR %d\n' % version[1] l = '#define LIBTORRENT_VERSION_MINOR %d\n' % version[1]
if '#define LIBTORRENT_VERSION_TINY' in l:
l = '#define LIBTORRENT_VERSION_TINY %d\n' % version[2]
elif '#define LIBTORRENT_VERSION' in l: elif '#define LIBTORRENT_VERSION' in l:
l = '#define LIBTORRENT_VERSION "%d.%d.%d.%d"\n' % (version[0], version[1], version[2], version[3]) l = '#define LIBTORRENT_VERSION "%d.%d.%d.%d"\n' % (version[0], version[1], version[2], version[3])
elif 'AC_INIT([libtorrent-rasterbar]' in l: elif 'AC_INIT([libtorrent-rasterbar]' in l: