mirror of
https://github.com/cave-story-randomizer/cave-story-randomizer
synced 2024-11-22 06:43:03 +00:00
Rework .gitlab-ci.yml for manual releases.
This commit is contained in:
parent
8ffb656f84
commit
4b000a511f
|
@ -7,24 +7,18 @@ variables:
|
|||
|
||||
stages:
|
||||
- build
|
||||
- release
|
||||
|
||||
build-depoy:
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
# I. Build
|
||||
- cd src
|
||||
- love-release -W # -M (Skip MacOS for now, since broken after Love 11.)
|
||||
- love-release -W
|
||||
|
||||
# II. Release
|
||||
- cd releases
|
||||
# - FILE=$(ls *-win64.zip) ; butler push "$FILE" "$ITCHIO_USER/$ITCHIO_GAME:win64-$CHANNEL"
|
||||
release:
|
||||
stage: release
|
||||
when: manual
|
||||
script:
|
||||
- cd src/releases
|
||||
- FILE=$(ls *-win32.zip) ; butler push "$FILE" "$ITCHIO_USER/$ITCHIO_GAME:win32-$CHANNEL"
|
||||
# - FILE=$(ls *-macosx.zip) ; zip -ur "$FILE" "Cave Story Randomizer.app" ; butler push "$FILE" "$ITCHIO_USER/$ITCHIO_GAME:osx-$CHANNEL"
|
||||
# # Workaround for issue where butler renames *.love to *.zip.
|
||||
# - FILE=$(ls *.love) ; mkdir love-file-dir ; mv "$FILE" love-file-dir
|
||||
# - butler push love-file-dir "$ITCHIO_USER/$ITCHIO_GAME:linux-$CHANNEL"
|
||||
|
||||
cache:
|
||||
key: rocks
|
||||
paths:
|
||||
- src/rocks
|
||||
# - FILE=$(ls *-win64.zip) ; butler push "$FILE" "$ITCHIO_USER/$ITCHIO_GAME:win64-$CHANNEL"
|
||||
|
|
Loading…
Reference in a new issue