mirror of
https://github.com/darkzoul5/YoutubePlaylistSync.git
synced 2026-09-18 20:43:54 +03:00
Update build process to reference 'src' directory for packaging
This commit is contained in:
@@ -81,7 +81,7 @@ jobs:
|
||||
|
||||
# Build .exe using PyInstaller
|
||||
pip install pyinstaller
|
||||
pyinstaller --onefile --name "yt-playlist-downloader" --add-data "ytpld;ytpld" yt-playlist-main.py
|
||||
pyinstaller --onefile --name "yt-playlist-downloader" --add-data "src;ytpld" yt-playlist-main.py
|
||||
Move-Item "dist/yt-playlist-downloader.exe" "dist/windows/yt-playlist-downloader.exe"
|
||||
|
||||
# Cleanup & Archive
|
||||
@@ -144,8 +144,8 @@ jobs:
|
||||
tar -xzf yt-playlist-linux-${{ steps.version.outputs.version }}.tar.gz
|
||||
cp ../../Dockerfile .
|
||||
cp ../../docker-entrypoint.sh .
|
||||
# Ensure ytpld package is present
|
||||
if [ ! -d "ytpld" ]; then cp -r ../../ytpld . ; fi
|
||||
# Ensure ytpld package is present from src/
|
||||
if [ ! -d "src" ]; then cp -r ../../src . ; fi
|
||||
|
||||
- name: Set docker image names
|
||||
run: |
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ WORKDIR /app
|
||||
|
||||
# Copy application code (package) and bootstrap
|
||||
COPY yt-playlist-main.py /app/
|
||||
COPY ytpld/ /app/ytpld/
|
||||
COPY src/ /app/ytpld/
|
||||
COPY config/ /app/config/
|
||||
|
||||
# Copy helper binaries from the build context (which includes extracted artifacts)
|
||||
|
||||
Reference in New Issue
Block a user