Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Runge <dvzrv@archlinux.org>2023-10-25 16:53:10 +0200
committerLevente Polyak <anthraxx@archlinux.org>2023-11-24 22:27:14 +0100
commitc9de6a18b9fffa8904e191cb184c2b4d083d8dc3 (patch)
treef49a21bcbb75049c30f7fd7b207b5abfbe34cc3c /Makefile
parent9f8ca5df1a0272bfc1da30d46c4497245cbde417 (diff)
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 <dvzrv@archlinux.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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