Closed alpha version 1.5.8.1.

This commit is contained in:
John Preston 2019-01-28 12:39:05 +03:00
parent b6edf4561d
commit 6a2a13d346
6 changed files with 16 additions and 13 deletions

View File

@ -9,7 +9,7 @@
<Identity Name="TelegramMessengerLLP.TelegramDesktop"
ProcessorArchitecture="ARCHITECTURE"
Publisher="CN=536BC709-8EE1-4478-AF22-F0F0F26FF64A"
Version="1.5.8.0" />
Version="1.5.8.1" />
<Properties>
<DisplayName>Telegram Desktop</DisplayName>
<PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName>

View File

@ -34,8 +34,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,5,8,0
PRODUCTVERSION 1,5,8,0
FILEVERSION 1,5,8,1
PRODUCTVERSION 1,5,8,1
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -52,10 +52,10 @@ BEGIN
BEGIN
VALUE "CompanyName", "Telegram Messenger LLP"
VALUE "FileDescription", "Telegram Desktop"
VALUE "FileVersion", "1.5.8.0"
VALUE "FileVersion", "1.5.8.1"
VALUE "LegalCopyright", "Copyright (C) 2014-2019"
VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "1.5.8.0"
VALUE "ProductVersion", "1.5.8.1"
END
END
BLOCK "VarFileInfo"

View File

@ -25,8 +25,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,5,8,0
PRODUCTVERSION 1,5,8,0
FILEVERSION 1,5,8,1
PRODUCTVERSION 1,5,8,1
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -43,10 +43,10 @@ BEGIN
BEGIN
VALUE "CompanyName", "Telegram Messenger LLP"
VALUE "FileDescription", "Telegram Desktop Updater"
VALUE "FileVersion", "1.5.8.0"
VALUE "FileVersion", "1.5.8.1"
VALUE "LegalCopyright", "Copyright (C) 2014-2019"
VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "1.5.8.0"
VALUE "ProductVersion", "1.5.8.1"
END
END
BLOCK "VarFileInfo"

View File

@ -7,7 +7,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
#define TDESKTOP_REQUESTED_ALPHA_VERSION (0ULL)
#define TDESKTOP_REQUESTED_ALPHA_VERSION (1005008001ULL)
#ifdef TDESKTOP_OFFICIAL_TARGET
#define TDESKTOP_ALPHA_VERSION TDESKTOP_REQUESTED_ALPHA_VERSION

View File

@ -107,6 +107,8 @@ if building:
print('Finished.')
finish(0)
commandPath = scriptPath + '/../../out/Debug/' + outputFolder + '/command.txt'
if composing:
templatePath = scriptPath + '/../../../TelegramPrivate/updates_template.txt'
if not os.path.exists(templatePath):
@ -147,16 +149,17 @@ if composing:
changelog = '\n'.join(commits)
print('\n\nReady! File: ' + archive + '\nChangelog:\n' + changelog)
with open(templatePath, 'r') as template:
with open(scriptPath + '/../../out/Debug/' + outputFolder + '/command.txt', 'w') as f:
with open(commandPath, 'w') as f:
for line in template:
if line.startswith('//'):
continue
line = line.replace('{path}', scriptPath + '/../../out/Debug/' + outputFolder + '/' + archive)
line = line.replace('{caption}', 'TDesktop at ' + today.replace('_', '.') + ':\n\n' + changelog)
f.write(line)
print('\n\nEdit:\n')
print('vi ' + commandPath)
finish(0)
commandPath = scriptPath + '/../../out/Debug/' + outputFolder + '/command.txt'
if not os.path.exists(commandPath):
print('[ERROR] Command file not found.')
finish(1)

View File

@ -3,4 +3,4 @@ AppVersionStrMajor 1.5
AppVersionStrSmall 1.5.8
AppVersionStr 1.5.8
BetaChannel 0
AlphaVersion 0
AlphaVersion 1005008001