Fix docs version indicator to include unannotated tags ()

Looks like GitHub's release feature doesn't create annotated tags by default.
This commit is contained in:
Chris Wong 2021-10-01 22:58:15 +10:00 committed by GitHub
parent df98f4f00b
commit c4cd049da8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ build_page := target/debug/build_page
nav_json := site/nav.json nav_json := site/nav.json
version := $(shell git describe) version := $(shell git describe --tags)
hash := $(shell git rev-parse HEAD) hash := $(shell git rev-parse HEAD)
md_files := $(foreach slug,$(slugs),$(call slug_to_md,$(slug))) md_files := $(foreach slug,$(slugs),$(call slug_to_md,$(slug)))