From 936b59c1fc3a6929fd153ad3cb27f51d66b44787 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 27 Nov 2020 22:22:29 +0000 Subject: [PATCH] record what is deployed Signed-off-by: Ian Jackson --- Makefile | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2