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

22 lines
520 B
YAML
Raw Normal View History

2018-12-14 22:14:23 +00:00
image: shru/arch-love-release:heavy
variables:
ITCHIO_USER: shru
ITCHIO_GAME: cave-story-randomizer
CHANNEL: $CI_COMMIT_REF_NAME
stages:
- build-release
2018-12-14 22:14:23 +00:00
build-and-release:
stage: build-release
when: manual
script:
# I - Build
2018-12-20 17:03:07 +00:00
- cd src
- love-release -W
# II - Release to itch.io
2018-12-20 17:03:07 +00:00
- cd releases
2018-12-14 22:14:23 +00:00
- 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"