From: Ian Jackson Date: Fri, 27 Nov 2020 22:22:29 +0000 (+0000) Subject: record what is deployed X-Git-Tag: otter-0.2.0~332 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=936b59c1fc3a6929fd153ad3cb27f51d66b44787;p=otter.git record what is deployed Signed-off-by: Ian Jackson --- diff --git a/Makefile b/Makefile index 7b4ee079..70e3d168 100644 --- a/Makefile +++ b/Makefile @@ -41,6 +41,7 @@ BUNDLE_SOURCES ?= bundle-rust-sources DEPLOY_ARCH=x86_64-unknown-linux-musl DEPLOY_RELEASE=debug DEPLOY_TARGET_DIR=$(TARGET_DIR)/$(addsuffix /,$(DEPLOY_ARCH))$(DEPLOY_RELEASE) +DEPLOY_BRANCH=deployed #---------- nailing-cargo ---------- @@ -258,6 +259,7 @@ deploy: stamp/cargo.deploy-build bundled-sources assets libraries rsync -r $(FILEASSETS) $(addprefix $(WASM_PACKED)/, $(WASM_ASSETS)) \ $(DEPLOY_BASE)/assets/ ssh -o BatchMode=true $(DEPLOY_USER) $(DEPLOY_FINISH) + git branch -f $(DEPLOYED_BRANCH) #$(DEPLOY_BASE)/bundled-sources