f58289257f845dd6054dedf39dffe00c4cb54c34 — Alex Karle 11 months ago fbb8bc0 master
make: Fix release recipe on OpenBSD

The regex was failing, so I swapped it out for just egrep. Similarly,
openrsync can be used with rsync with just RSYNC=openrsync
1 files changed, 3 insertions(+), 2 deletions(-)

M Makefile
M Makefile => Makefile +3 -2
@@ 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