зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1381577 - Part J; Sign setup.exe on windows and error if we try to sign an unknown platform. r=kmoir
Land date changes to support windows nightlies onto central MozReview-Commit-ID: KFQDaaX2P8v --HG-- extra : rebase_source : a900c4b8cd0bab92fa7104a0b0b53bb29d6a2450
This commit is contained in:
Родитель
d91a6f7263
Коммит
3857ab8fab
|
@ -69,12 +69,25 @@ def _generate_upstream_artifacts(build_platform, is_nightly=False):
|
|||
'artifacts': ['public/build/target.dmg'],
|
||||
'format': 'macapp',
|
||||
}]
|
||||
elif 'win' in build_platform:
|
||||
elif 'win64' in build_platform:
|
||||
artifacts_specificities = [{
|
||||
'artifacts': ['public/build/target.zip'],
|
||||
'artifacts': [
|
||||
'public/build/target.zip',
|
||||
'public/build/setup.exe'
|
||||
],
|
||||
'format': 'sha2signcode',
|
||||
}]
|
||||
else:
|
||||
elif 'win32' in build_platform:
|
||||
artifacts_specificities = [{
|
||||
'artifacts': [
|
||||
'public/build/target.zip',
|
||||
'public/build/setup.exe',
|
||||
],
|
||||
'format': 'sha2signcode',
|
||||
}]
|
||||
if is_nightly:
|
||||
artifacts_specificities[0]['artifacts'] += ['public/build/setup-stub.exe']
|
||||
elif 'linux' in build_platform:
|
||||
artifacts_specificities = [{
|
||||
'artifacts': ['public/build/target.tar.bz2'],
|
||||
'format': 'gpg',
|
||||
|
@ -82,6 +95,8 @@ def _generate_upstream_artifacts(build_platform, is_nightly=False):
|
|||
'artifacts': ['public/build/update/target.complete.mar'],
|
||||
'format': 'mar',
|
||||
}]
|
||||
else:
|
||||
raise Exception("Platform not implemented for signing")
|
||||
|
||||
return [{
|
||||
'taskId': {'task-reference': '<build>'},
|
||||
|
|
Загрузка…
Ссылка в новой задаче