cave-story-randomizer/.gitlab-ci.yml

25 lines
499 B
YAML

image: shru/arch-love-release:heavy
variables:
ITCHIO_USER: shru
ITCHIO_GAME: cave-story-randomizer
CHANNEL: $CI_COMMIT_REF_NAME
stages:
- build
- release
build:
stage: build
script:
- cd src
- love-release -W
release:
stage: release
when: manual
script:
- cd src/releases
- FILE=$(ls *-win32.zip) ; butler push "$FILE" "$ITCHIO_USER/$ITCHIO_GAME:win32-$CHANNEL"
# - FILE=$(ls *-win64.zip) ; butler push "$FILE" "$ITCHIO_USER/$ITCHIO_GAME:win64-$CHANNEL"