diff --git a/Makefile b/Makefile index 2d599a7..65545d4 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ revision := $(shell git rev-parse HEAD | head -c 8) fullRevision := $(shell git rev-parse HEAD) +revcount := $(shell git rev-list --count HEAD) all: env build deploy @@ -13,3 +14,4 @@ deploy: env: echo "REVISION='$(revision)'" > .env echo "FULL_REVISION='$(fullRevision)'" >> .env + echo "REV_COUNT='$(revcount)'" >> .env