mirror of
https://gitlab.com/packaging/gitea
synced 2024-12-18 16:13:44 +00:00
make sure gitea is an executable
This commit is contained in:
parent
2dba627301
commit
d59203622e
@ -20,6 +20,7 @@ package:
|
||||
- gem specific_install https://github.com/root360/fpm.git all_fixes
|
||||
- mkdir -p "${CI_PROJECT_DIR}/package_root/usr/bin"
|
||||
- curl -sL -o "${CI_PROJECT_DIR}/package_root/usr/bin/gitea" "https://dl.gitea.io/gitea/${VERSION}/gitea-${VERSION}-linux-amd64"
|
||||
- file --mime-type --brief "${CI_PROJECT_DIR}/package_root/usr/bin/gitea" | grep -q 'application/x-executable'
|
||||
- chmod +x "${CI_PROJECT_DIR}/package_root/usr/bin/gitea"
|
||||
- fpm
|
||||
--input-type dir
|
||||
|
Loading…
Reference in New Issue
Block a user