From c9de6a18b9fffa8904e191cb184c2b4d083d8dc3 Mon Sep 17 00:00:00 2001 From: David Runge Date: Wed, 25 Oct 2023 16:53:10 +0200 Subject: fix(make): Specify GITLAB_HOST for glab to avoid default host confusion Specify the upstream instance hostname for glab using the `GITLAB_HOST` environment variable. Without it `glab` will use whatever is set as host using the `host` key in its configuration and silently break the links of all uploaded assets. Signed-off-by: David Runge --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8ed3cb0..36f1b9b 100644 --- a/Makefile +++ b/Makefile @@ -156,7 +156,7 @@ tag: release: dist git push --tags origin master git cliff --version >/dev/null - glab release create v$(V) devtools-$(V).tar.gz* --milestone v$(V) --notes-file <(git cliff --strip=all --latest) + GITLAB_HOST=gitlab.archlinux.org glab release create v$(V) devtools-$(V).tar.gz* --milestone v$(V) --notes-file <(git cliff --strip=all --latest) dist: git archive --format=tar --prefix=devtools-$(V)/ v$(V) | gzip > devtools-$(V).tar.gz -- cgit v1.2.3-70-g09d2