Upload sources-full first in release script.

This commit is contained in:
John Preston 2023-02-09 08:12:38 +04:00
parent 7fa229537d
commit 646bb2ff71
1 changed files with 6 additions and 6 deletions

View File

@ -163,6 +163,12 @@ if not os.path.isdir(local_folder):
local_folder = local_folder + '/'
files = []
files.append({
'local': 'sources',
'remote': 'tdesktop-' + version + '-full.tar.gz',
'mime': 'application/x-gzip',
'label': 'Source code (tar.gz, full)',
})
files.append({
'local': 'tsetup.' + version_full + '.exe',
'remote': 'tsetup.' + version_full + '.exe',
@ -205,12 +211,6 @@ files.append({
'mime': 'application/octet-stream',
'label': 'Linux 64 bit: Binary',
})
files.append({
'local': 'sources',
'remote': 'tdesktop-' + version + '-full.tar.gz',
'mime': 'application/x-gzip',
'label': 'Source code (tar.gz, full)',
})
r = requests.get(url + 'repos/telegramdesktop/tdesktop/releases/tags/v' + version)
if r.status_code == 404: