mirror of
https://github.com/cave-story-randomizer/cave-story-randomizer
synced 2024-11-21 22:32:53 +00:00
24 lines
544 B
YAML
24 lines
544 B
YAML
# image: shru/arch-love-release:heavy
|
|
image: asmfreak/love-release:latest
|
|
|
|
variables:
|
|
ITCHIO_USER: shru
|
|
ITCHIO_GAME: cave-story-randomizer
|
|
CHANNEL: $CI_COMMIT_REF_NAME
|
|
|
|
stages:
|
|
- build-release
|
|
|
|
build-and-release:
|
|
stage: build-release
|
|
when: manual
|
|
script:
|
|
# I - Build
|
|
- cd src
|
|
- love-release -W
|
|
# II - Release to itch.io
|
|
- cd releases
|
|
- FILE=$(ls *-win32.zip) ;
|
|
zip -d "$FILE" "*/lovec.exe" "*/changes.txt" "*/readme.txt" "*.ico" ;
|
|
butler push "$FILE" "$ITCHIO_USER/$ITCHIO_GAME:win32-$CHANNEL"
|