rename Shockolate tar ball
This commit is contained in:
@@ -55,8 +55,8 @@ jobs:
|
||||
# instance's artifact storage doesn't support (GHESNotSupportedError) - v3 works.
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: questshock
|
||||
path: dist/questshock-*-linux-*.tar.gz
|
||||
name: shockolate
|
||||
path: dist/shockolate-*-linux-*.tar.gz
|
||||
|
||||
- name: Build Quest APK
|
||||
# QUESTSHOCK_BUILD_IMAGE is already set (see Preflight above), so
|
||||
@@ -80,7 +80,7 @@ jobs:
|
||||
if: gitea.event_name == 'push'
|
||||
run: |
|
||||
set -euo pipefail
|
||||
TARBALL="$(ls dist/questshock-*-linux-*.tar.gz)"
|
||||
TARBALL="$(ls dist/shockolate-*-linux-*.tar.gz)"
|
||||
mkdir -p ~/.ssh
|
||||
echo "${{ secrets.DL_SFTP_KEY }}" > ~/.ssh/dl_sftp_key
|
||||
chmod 600 ~/.ssh/dl_sftp_key
|
||||
|
||||
@@ -65,7 +65,7 @@ dist: engine assets
|
||||
@echo "== Done - run $(DIST_DIR)/run.sh to play =="
|
||||
|
||||
# Builds a versioned, redistributable Linux release tarball at
|
||||
# dist/questshock-<version>-linux-<arch>.tar.gz - everything needed to
|
||||
# dist/shockolate-<version>-linux-<arch>.tar.gz - everything needed to
|
||||
# run except the proprietary game assets (res/GET_ASSETS.txt explains how
|
||||
# to get those instead of shipping res/data/, res/sound/). Version
|
||||
# defaults to the current git tag (vX.Y.Z, tag prefix stripped) - push a
|
||||
@@ -87,7 +87,7 @@ package: engine
|
||||
[0-9]*.[0-9]*.[0-9]*) ;; \
|
||||
*) echo "PREFLIGHT FAIL: VERSION '$$V' is not a semantic version (expected X.Y.Z, optionally with a -pre+meta suffix)" >&2; exit 1;; \
|
||||
esac; \
|
||||
PKG_NAME="questshock-$$V-linux-$(ARCH)"; \
|
||||
PKG_NAME="shockolate-$$V-linux-$(ARCH)"; \
|
||||
PKG_STAGE="$(BUILD_DIR)/package/$$PKG_NAME"; \
|
||||
echo "Packaging $$PKG_NAME"; \
|
||||
rm -rf "$$PKG_STAGE"; \
|
||||
|
||||
@@ -22,7 +22,7 @@ a cross-platform port of the original game.
|
||||
- `res/run.sh` - the launcher script, copied into `dist/` on build.
|
||||
- `Makefile` - assembles `dist/`, a self-contained runnable copy of the
|
||||
game, out of the compiled engine and the extracted assets. Also builds
|
||||
`dist/questshock-<version>-linux-<arch>.tar.gz`, a redistributable
|
||||
`dist/shockolate-<version>-linux-<arch>.tar.gz`, a redistributable
|
||||
package that omits the proprietary game assets (`make package`), and
|
||||
`dist/questshock-debug.apk` for the Quest (`make apk`).
|
||||
- `android/` - the Quest app (Java `SDLActivity` glue, Gradle project).
|
||||
@@ -66,7 +66,7 @@ a throwaway Docker container instead.
|
||||
|
||||
## Packaging
|
||||
|
||||
`make package` builds `dist/questshock-<version>-linux-<arch>.tar.gz`: the
|
||||
`make package` builds `dist/shockolate-<version>-linux-<arch>.tar.gz`: the
|
||||
compiled binary, its runtime libraries, shaders, a default MIDI
|
||||
soundfont, license information, and `res/GET_ASSETS.txt` in place of the
|
||||
actual game data (which the tarball never includes). Version comes from
|
||||
|
||||
Reference in New Issue
Block a user