parent
9121987142
commit
5250bad4b6
@ -0,0 +1,27 @@ |
||||
kind: pipeline |
||||
type: docker |
||||
|
||||
environment: |
||||
BUILD_TYPE: "RC" |
||||
|
||||
steps: |
||||
- name: Windows Installer |
||||
image: sypingauto/gta5view-build:1.8-shared |
||||
environment: |
||||
BUILD_SCRIPT: "wininstall_build.sh" |
||||
QT_SELECT: "qt5-x86_64-w64-mingw32" |
||||
TCA_PASS: |
||||
from_secret: tca_pass |
||||
commands: |
||||
- .drone/drone.sh |
||||
|
||||
steps: |
||||
- name: Windows Portable |
||||
image: sypingauto/gta5view-build:1.8-static |
||||
environment: |
||||
BUILD_SCRIPT: "windows_build.sh" |
||||
QT_SELECT: "qt5-x86_64-w64-mingw32" |
||||
TCA_PASS: |
||||
from_secret: tca_pass |
||||
commands: |
||||
- .drone/drone.sh |
Binary file not shown.
@ -0,0 +1,24 @@ |
||||
#!/bin/bash |
||||
|
||||
# Decrypt Telemetry Authenticator |
||||
rm -rf tmext/TelemetryClassAuthenticator.cpp && \ |
||||
openssl aes-256-cbc -k ${TCA_PASS} -in .drone/TelemetryClassAuthenticator.cpp.enc -out tmext/TelemetryClassAuthenticator.cpp -d -pbkdf2 |
||||
|
||||
# Check if build is not tagged |
||||
if [ "${DRONE_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=Drone |
||||
fi |
||||
|
||||
# Init Application Commit Hash |
||||
export APPLICATION_COMMIT=$(git rev-parse --short HEAD) |
||||
|
||||
# Start CI script and copying assets into base directory |
||||
.ci/ci.sh && \ |
||||
cp -Rf assets/* ./ |
Binary file not shown.
Loading…
Reference in new issue