Upload ZIP files also containing images

This commit is contained in:
Bill Rossi 2025-01-25 08:45:00 -05:00
parent 822090b5f5
commit 5fe59448f6
2 changed files with 14 additions and 4 deletions

View File

@ -1,2 +1,4 @@
fatal_text_adventure_linux
fatal_text_adventure_windows.exe
fatal_text_adventure_linux.zip
fatal_text_adventure_windows.zip

View File

@ -40,6 +40,14 @@ clean:
rm -f ./$(GAME)_windows.exe
rm -f ./data/*.c
butler_upload: $(GAME)_linux $(GAME)_windows
$(BUTLER) push ./$(GAME)_linux bassguitarbill/fatal-distractions:$(ITCH_CHANNEL_LINUX)
$(BUTLER) push ./$(GAME)_windows.exe bassguitarbill/fatal-distractions:$(ITCH_CHANNEL_WINDOWS)
$(GAME)_linux.zip: $(GAME)_linux
rm -f ./$(GAME)_linux.zip
zip -r $(GAME)_linux.zip $(GAME)_linux img/*.png
$(GAME)_windows.zip: $(GAME)_windows.exe
rm -f ./$(GAME)_windows.zip
zip -r $(GAME)_windows.zip $(GAME)_windows.exe img/*.png
butler_upload: $(GAME)_linux.zip $(GAME)_windows.zip
$(BUTLER) push ./$(GAME)_linux.zip bassguitarbill/fatal-distractions:$(ITCH_CHANNEL_LINUX)
$(BUTLER) push ./$(GAME)_windows.zip bassguitarbill/fatal-distractions:$(ITCH_CHANNEL_WINDOWS)