mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
Support gitlab
This commit is contained in:
parent
45c58b7d9d
commit
83dae02dbf
1 changed files with 2 additions and 1 deletions
|
|
@ -156,7 +156,8 @@ do_file() {
|
|||
prefix_ref=${reference}
|
||||
# All git repositories we already use remove "v"s from the beginning
|
||||
# of branch/tag names in the tarball prefix
|
||||
if echo "${reference}" | grep -Eq "^v[0-9]"; then
|
||||
# except for gitlab
|
||||
if echo "${reference}" | grep -Eq "^v[0-9]" | grep -vq gitlab; then
|
||||
prefix_ref=$(echo "${reference}" | sed "s/^v//")
|
||||
fi
|
||||
prefix=$(basename "${repo}" | sed "s/.git$//")-${prefix_ref}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue