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