packaging now working

This commit is contained in:
2024-07-17 15:31:46 +02:00
committed by Flo Greistorfer
parent 1aa729ef84
commit ad909282e6
8 changed files with 116 additions and 13 deletions

View File

@@ -12,9 +12,11 @@ jobs:
- name: Install Dependencies
run: pip install -r requirements.txt
- name: Build Package
run: pyinstaller builder.py modules/*.py -n StaticGalleryBuilder -F
run: pyinstaller builder.py modules/*.py -n StaticGalleryBuilder -F --add-data files:files --add-data templates:templates --add-data .version:.
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: dist/StaticGalleryBuilder
make_latest: true
generate_release_notes: true
files: |
dist/StaticGalleryBuilder