Skip to content

Commit 48b4a14

Browse files
committed
ci: align artifact/binary names to ffmpeg-gui-{pyqt6,tkinter} across all platforms and Debian packaging
1 parent 97d80f2 commit 48b4a14

2 files changed

Lines changed: 26 additions & 26 deletions

File tree

.github/workflows/build.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -85,31 +85,31 @@ jobs:
8585
- name: Build PyQt6 app
8686
shell: bash
8787
run: |
88-
pyinstaller --name WINFF-GUI-PyQt6 --noconfirm --onefile --windowed GUI_pyqt6_WINFF.py
88+
pyinstaller --name ffmpeg-gui-pyqt6 --noconfirm --onefile --windowed GUI_pyqt6_WINFF.py
8989
9090
- name: Build Tkinter app
9191
shell: bash
9292
run: |
93-
pyinstaller --name WINFF-GUI-Tkinter --noconfirm --onefile --windowed GUI_tkinter_WINFF.py
93+
pyinstaller --name ffmpeg-gui-tkinter --noconfirm --onefile --windowed GUI_tkinter_WINFF.py
9494
9595
- name: Collect artifacts
9696
shell: bash
9797
run: |
9898
mkdir -p artifacts
9999
arch_lc=$(echo "${{ runner.arch }}" | tr '[:upper:]' '[:lower:]')
100100
if [[ "$RUNNER_OS" == "Windows" ]]; then
101-
cp dist/WINFF-GUI-PyQt6.exe "artifacts/WINFF-GUI-PyQt6-win-${arch_lc}.exe"
102-
cp dist/WINFF-GUI-Tkinter.exe "artifacts/WINFF-GUI-Tkinter-win-${arch_lc}.exe"
101+
cp dist/ffmpeg-gui-pyqt6.exe "artifacts/ffmpeg-gui-pyqt6-win-${arch_lc}.exe"
102+
cp dist/ffmpeg-gui-tkinter.exe "artifacts/ffmpeg-gui-tkinter-win-${arch_lc}.exe"
103103
elif [[ "$RUNNER_OS" == "macOS" ]]; then
104104
# Package .app bundles as zips, suffix with architecture
105105
cd dist
106-
zip -r "../artifacts/WINFF-GUI-PyQt6-macos-${arch_lc}.app.zip" "WINFF-GUI-PyQt6.app"
107-
zip -r "../artifacts/WINFF-GUI-Tkinter-macos-${arch_lc}.app.zip" "WINFF-GUI-Tkinter.app"
106+
zip -r "../artifacts/ffmpeg-gui-pyqt6-macos-${arch_lc}.app.zip" "ffmpeg-gui-pyqt6.app"
107+
zip -r "../artifacts/ffmpeg-gui-tkinter-macos-${arch_lc}.app.zip" "ffmpeg-gui-tkinter.app"
108108
cd -
109109
else
110110
# Linux artifacts (ELF executables), suffix with architecture
111-
cp dist/WINFF-GUI-PyQt6 "artifacts/WINFF-GUI-PyQt6-linux-${arch_lc}"
112-
cp dist/WINFF-GUI-Tkinter "artifacts/WINFF-GUI-Tkinter-linux-${arch_lc}"
111+
cp dist/ffmpeg-gui-pyqt6 "artifacts/ffmpeg-gui-pyqt6-linux-${arch_lc}"
112+
cp dist/ffmpeg-gui-tkinter "artifacts/ffmpeg-gui-tkinter-linux-${arch_lc}"
113113
fi
114114
115115
- name: Upload artifacts
@@ -161,24 +161,24 @@ jobs:
161161
- name: Build PyQt6 app (Debian)
162162
shell: bash
163163
run: |
164-
pyinstaller --name WINFF-GUI-PyQt6 --noconfirm --onefile --windowed GUI_pyqt6_WINFF.py
164+
pyinstaller --name ffmpeg-gui-pyqt6 --noconfirm --onefile --windowed GUI_pyqt6_WINFF.py
165165
166166
- name: Build Tkinter app (Debian)
167167
shell: bash
168168
run: |
169-
pyinstaller --name WINFF-GUI-Tkinter --noconfirm --onefile --windowed GUI_tkinter_WINFF.py
169+
pyinstaller --name ffmpeg-gui-tkinter --noconfirm --onefile --windowed GUI_tkinter_WINFF.py
170170
171171
- name: Package artifacts (Debian)
172172
shell: bash
173173
run: |
174174
set -euo pipefail
175175
mkdir -p artifacts pkg
176176
# Copy raw binaries
177-
cp dist/WINFF-GUI-PyQt6 artifacts/WINFF-GUI-PyQt6-debian-x64
178-
cp dist/WINFF-GUI-Tkinter artifacts/WINFF-GUI-Tkinter-debian-x64
177+
cp dist/ffmpeg-gui-pyqt6 artifacts/ffmpeg-gui-pyqt6-debian-x64
178+
cp dist/ffmpeg-gui-tkinter artifacts/ffmpeg-gui-tkinter-debian-x64
179179
# Build simple .deb packages (version from CI run number)
180180
VER="0.0.0-ci-${GITHUB_RUN_NUMBER:-0}"
181-
for app in WINFF-GUI-PyQt6 WINFF-GUI-Tkinter; do
181+
for app in ffmpeg-gui-pyqt6 ffmpeg-gui-tkinter; do
182182
pkgname=$(echo "$app" | tr '[:upper:]' '[:lower:]' | tr '_' '-')
183183
pkgdir="pkg/${pkgname}_${VER}_amd64"
184184
mkdir -p "$pkgdir/DEBIAN" "$pkgdir/usr/local/bin"

.github/workflows/release.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -71,29 +71,29 @@ jobs:
7171
- name: Build PyQt6 app
7272
shell: bash
7373
run: |
74-
pyinstaller --name WINFF-GUI-PyQt6 --noconfirm --onefile --windowed GUI_pyqt6_WINFF.py
74+
pyinstaller --name ffmpeg-gui-pyqt6 --noconfirm --onefile --windowed GUI_pyqt6_WINFF.py
7575
7676
- name: Build Tkinter app
7777
shell: bash
7878
run: |
79-
pyinstaller --name WINFF-GUI-Tkinter --noconfirm --onefile --windowed GUI_tkinter_WINFF.py
79+
pyinstaller --name ffmpeg-gui-tkinter --noconfirm --onefile --windowed GUI_tkinter_WINFF.py
8080
8181
- name: Package artifacts
8282
shell: bash
8383
run: |
8484
mkdir -p artifacts
8585
arch_lc=$(echo "${{ runner.arch }}" | tr '[:upper:]' '[:lower:]')
8686
if [[ "$RUNNER_OS" == "Windows" ]]; then
87-
cp dist/WINFF-GUI-PyQt6.exe "artifacts/WINFF-GUI-PyQt6-win-${arch_lc}.exe"
88-
cp dist/WINFF-GUI-Tkinter.exe "artifacts/WINFF-GUI-Tkinter-win-${arch_lc}.exe"
87+
cp dist/ffmpeg-gui-pyqt6.exe "artifacts/ffmpeg-gui-pyqt6-win-${arch_lc}.exe"
88+
cp dist/ffmpeg-gui-tkinter.exe "artifacts/ffmpeg-gui-tkinter-win-${arch_lc}.exe"
8989
elif [[ "$RUNNER_OS" == "macOS" ]]; then
9090
cd dist
91-
zip -r "../artifacts/WINFF-GUI-PyQt6-macos-${arch_lc}.app.zip" "WINFF-GUI-PyQt6.app"
92-
zip -r "../artifacts/WINFF-GUI-Tkinter-macos-${arch_lc}.app.zip" "WINFF-GUI-Tkinter.app"
91+
zip -r "../artifacts/ffmpeg-gui-pyqt6-macos-${arch_lc}.app.zip" "ffmpeg-gui-pyqt6.app"
92+
zip -r "../artifacts/ffmpeg-gui-tkinter-macos-${arch_lc}.app.zip" "ffmpeg-gui-tkinter.app"
9393
cd -
9494
else
95-
cp dist/WINFF-GUI-PyQt6 "artifacts/WINFF-GUI-PyQt6-linux-${arch_lc}"
96-
cp dist/WINFF-GUI-Tkinter "artifacts/WINFF-GUI-Tkinter-linux-${arch_lc}"
95+
cp dist/ffmpeg-gui-pyqt6 "artifacts/ffmpeg-gui-pyqt6-linux-${arch_lc}"
96+
cp dist/ffmpeg-gui-tkinter "artifacts/ffmpeg-gui-tkinter-linux-${arch_lc}"
9797
fi
9898
9999
- name: Upload artifacts
@@ -145,25 +145,25 @@ jobs:
145145
- name: Build PyQt6 app (Debian)
146146
shell: bash
147147
run: |
148-
pyinstaller --name WINFF-GUI-PyQt6 --noconfirm --onefile --windowed GUI_pyqt6_WINFF.py
148+
pyinstaller --name ffmpeg-gui-pyqt6 --noconfirm --onefile --windowed GUI_pyqt6_WINFF.py
149149
150150
- name: Build Tkinter app (Debian)
151151
shell: bash
152152
run: |
153-
pyinstaller --name WINFF-GUI-Tkinter --noconfirm --onefile --windowed GUI_tkinter_WINFF.py
153+
pyinstaller --name ffmpeg-gui-tkinter --noconfirm --onefile --windowed GUI_tkinter_WINFF.py
154154
155155
- name: Package artifacts (Debian)
156156
shell: bash
157157
run: |
158158
set -euo pipefail
159159
mkdir -p artifacts pkg
160160
# Copy raw binaries
161-
cp dist/WINFF-GUI-PyQt6 artifacts/WINFF-GUI-PyQt6-debian-x64
162-
cp dist/WINFF-GUI-Tkinter artifacts/WINFF-GUI-Tkinter-debian-x64
161+
cp dist/ffmpeg-gui-pyqt6 artifacts/ffmpeg-gui-pyqt6-debian-x64
162+
cp dist/ffmpeg-gui-tkinter artifacts/ffmpeg-gui-tkinter-debian-x64
163163
# Build simple .deb packages (version from CI run number)
164164
VER="${GITHUB_REF_NAME:-v0.0.0}"
165165
VER_DEB="${VER#v}"
166-
for app in WINFF-GUI-PyQt6 WINFF-GUI-Tkinter; do
166+
for app in ffmpeg-gui-pyqt6 ffmpeg-gui-tkinter; do
167167
pkgname=$(echo "$app" | tr '[:upper:]' '[:lower:]' | tr '_' '-')
168168
pkgdir="pkg/${pkgname}_${VER_DEB}_amd64"
169169
mkdir -p "$pkgdir/DEBIAN" "$pkgdir/usr/local/bin"

0 commit comments

Comments
 (0)