gta5view/.gitlab/gitlab.sh

20 lines
375 B
Bash
Raw Normal View History

#!/bin/bash
# Install curl and lua
apt-get update -qq && \
apt-get install -qq curl git lua5.3 openssl
# Check if build is not tagged
if [ "${CI_COMMIT_TAG}" == "" ]; then
export EXECUTABLE_TAG=-$(git rev-parse --short HEAD)
else
export EXECUTABLE_TAG=
fi
# Check if package code is not set
if [ "${PACKAGE_CODE}" == "" ]; then
export PACKAGE_CODE=GitLab
fi
.ci/ci.sh