Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
3e34a25a
Commit
3e34a25a
authored
Aug 12, 2019
by
Steve Dower
Committed by
GitHub
Aug 12, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-37354: Sign Activate.ps1 for release (GH-15235)
parent
732775d6
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
4 deletions
+29
-4
.azure-pipelines/windows-release/msi-steps.yml
.azure-pipelines/windows-release/msi-steps.yml
+4
-0
.azure-pipelines/windows-release/stage-build.yml
.azure-pipelines/windows-release/stage-build.yml
+1
-1
.azure-pipelines/windows-release/stage-layout-full.yml
.azure-pipelines/windows-release/stage-layout-full.yml
+4
-0
.azure-pipelines/windows-release/stage-layout-msix.yml
.azure-pipelines/windows-release/stage-layout-msix.yml
+4
-0
.azure-pipelines/windows-release/stage-layout-nuget.yml
.azure-pipelines/windows-release/stage-layout-nuget.yml
+4
-0
.azure-pipelines/windows-release/stage-sign.yml
.azure-pipelines/windows-release/stage-sign.yml
+12
-3
No files found.
.azure-pipelines/windows-release/msi-steps.yml
View file @
3e34a25a
...
...
@@ -51,6 +51,10 @@ steps:
artifactName
:
tcltk_lib_amd64
targetPath
:
$(Build.BinariesDirectory)\tcltk_lib_amd64
-
powershell
:
|
copy $(Build.BinariesDirectory)\amd64\Activate.ps1 Lib\venv\scripts\common\Activate.ps1 -Force
displayName
:
'
Copy
signed
files
into
sources'
-
script
:
|
call Tools\msi\get_externals.bat
call PCbuild\find_python.bat
...
...
.azure-pipelines/windows-release/stage-build.yml
View file @
3e34a25a
...
...
@@ -122,7 +122,7 @@ jobs:
displayName
:
Publish Tcl/Tk Library
pool
:
vmName
:
win
2016-vs2017
vmName
:
win
dows-latest
workspace
:
clean
:
all
...
...
.azure-pipelines/windows-release/stage-layout-full.yml
View file @
3e34a25a
...
...
@@ -47,6 +47,10 @@ jobs:
artifactName
:
tcltk_lib_$(Name)
targetPath
:
$(Build.BinariesDirectory)\tcltk_lib
-
powershell
:
|
copy $(Build.BinariesDirectory)\bin\Activate.ps1 Lib\venv\scripts\common\Activate.ps1 -Force
displayName
:
'
Copy
signed
files
into
sources'
-
template
:
./layout-command.yml
-
powershell
:
|
...
...
.azure-pipelines/windows-release/stage-layout-msix.yml
View file @
3e34a25a
...
...
@@ -40,6 +40,10 @@ jobs:
artifactName
:
tcltk_lib_$(Name)
targetPath
:
$(Build.BinariesDirectory)\tcltk_lib
-
powershell
:
|
copy $(Build.BinariesDirectory)\bin\Activate.ps1 Lib\venv\scripts\common\Activate.ps1 -Force
displayName
:
'
Copy
signed
files
into
sources'
-
template
:
./layout-command.yml
-
powershell
:
|
...
...
.azure-pipelines/windows-release/stage-layout-nuget.yml
View file @
3e34a25a
...
...
@@ -29,6 +29,10 @@ jobs:
artifactName
:
bin_$(Name)
targetPath
:
$(Build.BinariesDirectory)\bin
-
powershell
:
|
copy $(Build.BinariesDirectory)\bin\Activate.ps1 Lib\venv\scripts\common\Activate.ps1 -Force
displayName
:
'
Copy
signed
files
into
sources'
-
template
:
./layout-command.yml
-
powershell
:
|
...
...
.azure-pipelines/windows-release/stage-sign.yml
View file @
3e34a25a
parameters
:
Include
:
'
*.exe,
*.dll,
*.pyd,
*.cat,
*.ps1'
Exclude
:
'
vcruntime*,
libffi*,
libcrypto*,
libssl*'
jobs
:
-
job
:
Sign_Python
displayName
:
Sign Python binaries
...
...
@@ -17,7 +21,7 @@ jobs:
Name
:
amd64
steps
:
-
checkout
:
none
-
template
:
./checkout.yml
-
template
:
./find-sdk.yml
-
powershell
:
|
...
...
@@ -31,13 +35,18 @@ jobs:
targetPath
:
$(Build.BinariesDirectory)\bin
-
powershell
:
|
$files = (gi *.exe, *.dll, *.pyd, *.cat -Exclude vcruntime*, libffi*, libcrypto*, libssl*)
copy "$(Build.SourcesDirectory)\Lib\venv\scripts\common\Activate.ps1" .
displayName
:
'
Copy
files
from
source'
workingDirectory
:
$(Build.BinariesDirectory)\bin
-
powershell
:
|
$files = (gi ${{ parameters.Include }} -Exclude ${{ parameters.Exclude }})
signtool sign /a /n "$(SigningCertificate)" /fd sha256 /d "$(SigningDescription)" $files
displayName
:
'
Sign
binaries'
workingDirectory
:
$(Build.BinariesDirectory)\bin
-
powershell
:
|
$files = (gi
*.exe, *.dll, *.pyd, *.cat -Exclude vcruntime*, libffi*, libcrypto*, libssl*
)
$files = (gi
${{ parameters.Include }} -Exclude ${{ parameters.Exclude }}
)
$failed = $true
foreach ($retry in 1..10) {
signtool timestamp /t http://timestamp.verisign.com/scripts/timestamp.dll $files
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment