mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-05-05 04:28:38 +02:00
debian: fix DEB_TARGET_ARCH maybe undefined (#200)
Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
This commit is contained in:
parent
576c4b687a
commit
e851a3095d
1 changed files with 2 additions and 0 deletions
2
debian/rules
vendored
2
debian/rules
vendored
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue