Skip to content

Commit

Permalink
fix windows builds
Browse files Browse the repository at this point in the history
2024-03-07T00:15:20.1936975Z DEBUG:  150+  >>>> curl "${file_url}" | Out-String
2024-03-07T00:15:25.5487026Z
2024-03-07T00:15:25.5487043Z
2024-03-07T00:15:25.5487746Z StatusCode        : 200
2024-03-07T00:15:25.5488316Z StatusDescription : OK
2024-03-07T00:15:25.5488751Z Content           : {80, 75, 3, 4...}
2024-03-07T00:15:25.5489238Z RawContent        : HTTP/1.1 200 OK
2024-03-07T00:15:25.5490077Z                     Connection: keep-alive
2024-03-07T00:15:25.5490746Z                     Content-MD5: tTxqR2jlI6On8JmacS5y0Q==
2024-03-07T00:15:25.5491585Z                     x-ms-request-id: 7ed099dd-d01e-0029-20d0-68df21000000
2024-03-07T00:15:25.5492317Z                     x-ms-version: 2020-10-02
2024-03-07T00:15:25.5492856Z                     x-ms-creation-time: Tue, 12 Dec 2023 08...
2024-03-07T00:15:25.5493557Z Headers           : {[Connection, keep-alive], [Content-MD5, tTxqR2jlI6On8JmacS5y0Q==], [x-ms-request-id,
2024-03-07T00:15:25.5494345Z                     7ed099dd-d01e-0029-20d0-68df21000000], [x-ms-version, 2020-10-02]...}
2024-03-07T00:15:25.5494819Z RawContentLength  : 20964
2024-03-07T00:15:25.5494999Z
2024-03-07T00:15:25.5495013Z
2024-03-07T00:15:25.5495017Z
2024-03-07T00:15:25.5495021Z
2024-03-07T00:15:25.5498506Z DEBUG:  151+  >>>> $filename = Get-ChildItem -Name | Select-Object -First 1
2024-03-07T00:15:25.5522604Z DEBUG:  152+  >>>> echo $filename | Out-String
2024-03-07T00:15:25.5525978Z
2024-03-07T00:15:25.5535017Z DEBUG:  155+  >>>> curl -OutFile "${filename}.asc" "${signature_url}" | Out-String
2024-03-07T00:15:25.6446982Z
2024-03-07T00:15:25.6456084Z DEBUG:  156+  >>>> ls | Out-String
2024-03-07T00:15:25.6482940Z
2024-03-07T00:15:25.6483153Z
2024-03-07T00:15:25.6484267Z     Directory: C:\Users\runneradmin\AppData\Local\Temp\0b4270b3-865c-4bdd-9d4b-64b776e8a8d6
2024-03-07T00:15:25.6485070Z
2024-03-07T00:15:25.6485077Z
2024-03-07T00:15:25.6485483Z Mode                 LastWriteTime         Length Name
2024-03-07T00:15:25.6487921Z ----                 -------------         ------ ----
2024-03-07T00:15:25.6488631Z -a----          3/7/2024  12:15 AM            801 .asc
2024-03-07T00:15:25.6489024Z
2024-03-07T00:15:25.6489029Z
2024-03-07T00:15:25.6489033Z
2024-03-07T00:15:25.6491888Z DEBUG:  159+  >>>> mkdir gnupg | Out-String
2024-03-07T00:15:25.6596078Z DEBUG:   36+ begin  >>>> {
2024-03-07T00:15:25.6603934Z DEBUG:   39+          >>>> $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand('New-Item',
2024-03-07T00:15:25.6605434Z [System.Management.Automation.CommandTypes]::Cmdlet)
2024-03-07T00:15:25.6661911Z DEBUG:   40+          >>>> $scriptCmd = {& $wrappedCmd -Type Directory @PSBoundParameters }
2024-03-07T00:15:25.6674359Z DEBUG:   41+          >>>> $steppablePipeline = $scriptCmd.GetSteppablePipeline()
2024-03-07T00:15:25.6698032Z DEBUG:   42+          >>>> $steppablePipeline.Begin($PSCmdlet)
2024-03-07T00:15:25.6731128Z DEBUG:   47+  >>>> }
2024-03-07T00:15:25.6740158Z DEBUG:   49+ process  >>>> {
2024-03-07T00:15:25.6747349Z DEBUG:   52+          >>>> $steppablePipeline.Process($_)
2024-03-07T00:15:25.6796047Z DEBUG:   57+  >>>> }
2024-03-07T00:15:25.6801589Z DEBUG:   59+ end  >>>> {
2024-03-07T00:15:25.6808531Z DEBUG:   62+          >>>> $steppablePipeline.End()
2024-03-07T00:15:25.6826073Z DEBUG:   67+  >>>> }
2024-03-07T00:15:25.6827967Z
2024-03-07T00:15:25.6828087Z
2024-03-07T00:15:25.6829056Z     Directory: C:\Users\runneradmin\AppData\Local\Temp\0b4270b3-865c-4bdd-9d4b-64b776e8a8d6
2024-03-07T00:15:25.6829776Z
2024-03-07T00:15:25.6829782Z
2024-03-07T00:15:25.6830212Z Mode                 LastWriteTime         Length Name
2024-03-07T00:15:25.6830939Z ----                 -------------         ------ ----
2024-03-07T00:15:25.6831644Z d-----          3/7/2024  12:15 AM                gnupg
2024-03-07T00:15:25.6832029Z
2024-03-07T00:15:25.6832044Z
2024-03-07T00:15:25.6832048Z
2024-03-07T00:15:25.6835863Z DEBUG:  161+  >>>> popd | Out-String
2024-03-07T00:15:25.6845034Z
2024-03-07T00:15:25.6856655Z DEBUG:  162+  >>>> gpg --homedir "${tmpDir}\gnupg" --import "build\deps\python-gnupg.asc" | Out-String
2024-03-07T00:15:26.7241217Z gpg: keybox 'C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\0b4270b3-865c-4bdd-9d4b-64b776e8a8d6\\gnupg/pubring.kbx' created
2024-03-07T00:15:27.0216574Z gpg: C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\0b4270b3-865c-4bdd-9d4b-64b776e8a8d6\\gnupg/trustdb.gpg: trustdb created
2024-03-07T00:15:27.0224945Z gpg: key 9147B477339A9B86: public key "Vinay Sajip (CODE SIGNING KEY) <vinay_sajip@yahoo.co.uk>" imported
2024-03-07T00:15:27.2478438Z gpg: error running '/usr/bin/gpg-agent': exit status 2
2024-03-07T00:15:27.2479669Z gpg: failed to start gpg-agent '/usr/bin/gpg-agent': General error
2024-03-07T00:15:27.2484055Z gpg: can't connect to the gpg-agent: General error
2024-03-07T00:15:27.2484688Z gpg: Total number processed: 1
2024-03-07T00:15:27.2485132Z gpg:               imported: 1
  • Loading branch information
maltfield committed Mar 7, 2024
1 parent dd65a7b commit 266f1ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/windows/buildExe.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ $file_url = "https://github.com/vsajip/python-gnupg/releases/download/0.5.2/pyth
$signature_url = "https://github.com/vsajip/python-gnupg/releases/download/0.5.2/python_gnupg-0.5.2-py2.py3-none-any.whl.asc" | Out-String

# download the latest version of the python-gnupg module
curl "${file_url}" | Out-String
curl -OutFile $(Split-Path -Leaf ${file_url}) "${file_url}" | Out-String
$filename = Get-ChildItem -Name | Select-Object -First 1
echo $filename | Out-String

Expand Down

0 comments on commit 266f1ef

Please sign in to comment.