Skip to content

Commit d93b297

Browse files
committed
cosmetic
1 parent d0981d0 commit d93b297

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/github_workflows_build-2026_01.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ on:
1212
- '3.13'
1313
- '3.14'
1414
- '3.15'
15+
env:
16+
# === Global Configuration ===
17+
WINPYARCH: "64"
18+
my_release_level: "b0"
19+
dotwheelhouse: dotpython\\wheelhouse\\included.wheels
20+
pandoc_source: "https://github.com/jgm/pandoc/releases/download/3.1.9/pandoc-3.1.9-windows-x86_64.zip"
21+
pandoc_sha256: "11eb6dbe5286c9e5edb0cca4412e7d99ec6578ec04158b0b7fe11f7fd96688e5"
1522

1623
jobs:
1724
build-winpython:
@@ -76,12 +83,6 @@ jobs:
7683
WINPYFLAVOR: ${{ matrix.flavor.name }}
7784
PANDOC: ${{ matrix.flavor.PANDOC }}
7885
WINPYARCHDET: ${{ matrix.flavor.WINPYARCHDET }}
79-
# constants
80-
WINPYARCH: "64"
81-
my_release_level: "b0"
82-
dotwheelhouse: dotpython\\wheelhouse\\included.wheels
83-
pandoc_source: "https://github.com/jgm/pandoc/releases/download/3.1.9/pandoc-3.1.9-windows-x86_64.zip"
84-
pandoc_sha256: "11eb6dbe5286c9e5edb0cca4412e7d99ec6578ec04158b0b7fe11f7fd96688e5"
8586

8687
steps:
8788
- name: Checkout repository
@@ -240,14 +241,14 @@ jobs:
240241
shell: pwsh
241242
run: |
242243
$destfile = "publish_output\WinPython$env:WINPYARCH-$env:WINPYVER.zip"
243-
if ("${{ matrix.flavor.formats['zip'] }}" -eq "true") { Compress-Archive -Path "$env:build_location" -DestinationPath $destfile}
244+
if ("${{ matrix.flavor.formats['zip'] }}" -eq "true") { Compress-Archive -Path "$env:build_location" -DestinationPath $destfile }
244245
245-
$destfile7z = "publish_output\WinPython$env:WINPYARCH-$env:WINPYVER.7z"
246-
if ("${{ matrix.flavor.formats['7z'] }}" -eq "true") { 7z a $destfile7z $env:build_location }
246+
$destfile = "publish_output\WinPython$env:WINPYARCH-$env:WINPYVER.7z"
247+
if ("${{ matrix.flavor.formats['7z'] }}" -eq "true") { 7z a $destfile $env:build_location }
247248
248-
$destfileexe = "publish_output\WinPython$env:WINPYARCH-$env:WINPYVER.exe"
249+
$destfile = "publish_output\WinPython$env:WINPYARCH-$env:WINPYVER.exe"
249250
$SFXModulePath = "C:\Program Files\7-Zip\7z.sfx"
250-
if ("${{ matrix.flavor.formats['exe'] }}" -eq "true") { 7z a -t7z -sfx"$SFXModulePath" $destfileexe $env:build_location }
251+
if ("${{ matrix.flavor.formats['exe'] }}" -eq "true") { 7z a -t7z -sfx"$SFXModulePath" $destfile $env:build_location }
251252
252253
- name: generate hashes wppm style
253254
if: env.WINPYREQUIREMENTS != ''

winpython/portable/launchers_final/scripts/WinPython_PS_Prompt.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ foreach ($tmp_pair in ($tmp_output -split '&&')) {
3232

3333
# emulate %__CD%
3434
$tmp_envCD = $env:__CD__.TrimEnd('\')
35-
$tmp_envCDscript = ( Join-Path $tmp_envCD 'scripts' )
3635
if (($tmp_dp0 -eq $tmp_envCD ) -or ($tmp_dp0 -eq ( Join-Path $tmp_envCD 'scripts' ) )) {
3736
Set-Location -LiteralPath $env:WINPYWORKDIR1
3837
}

0 commit comments

Comments
 (0)