diff options
author | David Runge <dvzrv@archlinux.org> | 2023-10-25 16:53:10 +0200 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2023-11-24 22:27:14 +0100 |
commit | c9de6a18b9fffa8904e191cb184c2b4d083d8dc3 (patch) | |
tree | f49a21bcbb75049c30f7fd7b207b5abfbe34cc3c | |
parent | 9f8ca5df1a0272bfc1da30d46c4497245cbde417 (diff) | |
download | devtools-c9de6a18b9fffa8904e191cb184c2b4d083d8dc3.tar.xz |
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>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |