@@ 1,6 1,7 @@
ASSETS := $(shell find assets)
PUBLIC_FILES := $(shell find public)
LIB_FILES := $(shell find lib)
+RSYNC = rsync
.PHONY: all
all: test tags
@@ 31,8 32,8 @@ build: .assets.ts $(PUBLIC_FILES) $(LIB_FILES) gloat.pl
.PHONY: release
release: build test
git show HEAD --pretty=full -s |\
- sed 's/\(Author\|Commit\): \([^<]\+\).*/\1: \2<redacted>/' > build/public/version.txt
- rsync -av --delete --rsh="ssh -o StrictHostKeyChecking=no" \
+ egrep -v '^(Author|Commit):' > build/public/version.txt
+ $(RSYNC) -av --delete --rsh="ssh -o StrictHostKeyChecking=no" \
build/ _euchre@euchre.live:prod-el/
ssh -t -o StrictHostKeyChecking=no euchre.live \
doas rcctl restart euchre