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>
This commit is contained in:
parent
9f8ca5df1a
commit
c9de6a18b9
2
Makefile
2
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
|
||||
|
|
Loading…
Reference in New Issue