euchre-live

Euchre web-app for the socially distant family
git clone git://git.alexkarle.com/euchre-live.git
Log | Files | Refs | README | LICENSE

commit a421691d83da2b76b2f879d24fbf26c6554a41b6 (patch)
parent 5c8d0b24b711c9225e0fdd3bf7c00c3001bf2182
Author: Alex Karle <alex@karle.co>
Date:   Tue, 26 May 2020 18:06:00 -0400

make: Move version.txt generation from build->release

Some commits, like this one, may not actually trigger a build. However,
they could mess up the deployment (i.e. I botched the rsync line), so
version.txt should still be updated accordingly!

Diffstat:
MMakefile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -28,11 +28,11 @@ build: .public.ts $(LIB_FILES) gloat.pl rm -rf build mkdir -p build cp -a gloat.pl public lib build - git show HEAD --pretty=full -s | sed 's/\(Author\|Commit\): \([^<]\+\).*/\1: \2<redacted>/' > build/public/version.txt @echo ">>> Build Success! <<<" .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 build/ www@euchre.live:/var/www/preprod-el/ ssh www@euchre.live env FORCE=$(FORCE) sh /var/www/restart.sh preprod