27 lines
1.1 KiB
Makefile
27 lines
1.1 KiB
Makefile
# overrides to s9pk.mk must precede the include statement
|
|
include s9pk.mk
|
|
|
|
# ── Deploy ─────────────────────────────────────────────────────────────────
|
|
# `make deploy` — bump the version (only if .release-notes-pending.txt
|
|
# exists, signalling unshipped changes), build the x86 .s9pk, upload to
|
|
# FileBrowser, register with the Start9 registry, and trigger a re-index.
|
|
# Reads credentials from .deploy.env — copy .deploy.env.example to
|
|
# .deploy.env and fill in your values.
|
|
#
|
|
# The bump step is skipped automatically if you've already run `make bump`
|
|
# (which consumes the pending-notes file). No more double-prompt.
|
|
.PHONY: deploy redeploy bump
|
|
deploy:
|
|
@bash bin/bump-version.sh --from-deploy
|
|
@$(MAKE) --no-print-directory x86
|
|
@bash bin/deploy.sh
|
|
|
|
# `make redeploy` — push the existing .s9pk as-is. No version bump, no build.
|
|
redeploy:
|
|
@bash bin/deploy.sh
|
|
|
|
# `make bump` — interactively bump the version (create a new version file and
|
|
# wire it into the version graph). No build, no deploy.
|
|
bump:
|
|
@bash bin/bump-version.sh
|