diff --git a/debian/rules b/debian/rules index 57868e6..03d47c6 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,7 @@ #!/usr/bin/make -f +include /usr/share/dpkg/architecture.mk + VERSION := $(shell curl -s https://api.github.com/repos/coredns/coredns/releases/latest | jq -r '.tag_name[1:length]') # Github is ratelimiting this API pretty aggresively, error when not set. ifeq ($(VERSION),null)