diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a65ff36..1e45ef4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,17 +1,17 @@ image: syping/qt5-static-mingw:5.9.6 -job 0: +win32: variables: BUILD_SCRIPT: "windows_build.sh" QT_SELECT: "qt5-i686-w64-mingw32" script: - .gitlab/gitlab.sh artifacts: - name: "$CI_COMMIT_REF_NAME-win32" + name: "gta5view-$CI_COMMIT_REF_NAME-win32" paths: - assets/ -job 1: +win64: variables: BUILD_SCRIPT: "windows_build.sh" QT_SELECT: "qt5-x86_64-w64-mingw32" @@ -19,6 +19,6 @@ job 1: script: - .gitlab/gitlab.sh artifacts: - name: "$CI_COMMIT_REF_NAME-win64" + name: "gta5view-$CI_COMMIT_REF_NAME-win64" paths: - assets/ diff --git a/.gitlab/TelemetryClassAuthenticator.cpp.enc b/.gitlab/TelemetryClassAuthenticator.cpp.enc new file mode 100644 index 0000000..3c7445b Binary files /dev/null and b/.gitlab/TelemetryClassAuthenticator.cpp.enc differ diff --git a/.gitlab/gitlab.sh b/.gitlab/gitlab.sh index 821f89b..c87d9c3 100755 --- a/.gitlab/gitlab.sh +++ b/.gitlab/gitlab.sh @@ -4,6 +4,10 @@ apt-get update -qq && \ apt-get install -qq curl git lua5.2 openssl +# Decrypt Telemetry Authenticator +rm -rf tmext/TelemetryClassAuthenticator.cpp && \ +openssl aes-256-cbc -k $tca_pass -in .gitlab/TelemetryClassAuthenticator.cpp.enc -out tmext/TelemetryClassAuthenticator.cpp -d + # Check if build is not tagged if [ "${CI_COMMIT_TAG}" == "" ]; then export EXECUTABLE_TAG=-$(git rev-parse --short HEAD)