From 6d6e193b0233be50b296bc2eef7f93a17d8b8933 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brostr=C3=B6m=2EA=20=7C=20Evul?= Date: Tue, 16 Jan 2024 14:29:57 +0100 Subject: [PATCH] Added upland of cba_settings files (#1122) --- .github/workflows/deploy.yml | 8 ++++++++ tools/deploy.sh | 2 ++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f6d8d67ce..b22ddd1e4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -53,3 +53,11 @@ jobs: tag: ${{ github.ref }} asset_name: cScripts_NoLoadouts-${{github.ref_name}}.zip file: release/cScripts_NoLoadouts-${{github.ref_name}}.zip + + - name: Upload CBA_Settings.sqf + uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + tag: ${{ github.ref }} + asset_name: cba_settings.sqf + file: release/cba_settings.sqf diff --git a/tools/deploy.sh b/tools/deploy.sh index 98dcfe687..79e5498ed 100755 --- a/tools/deploy.sh +++ b/tools/deploy.sh @@ -9,6 +9,8 @@ mkdir -p release/ sed -i "s/#define VERSION.*/#define VERSION \"${VERSION_TAG}\"/" cScripts/script_component.hpp sed -i "s/DevBuild/${VERSION_TAG}/" tools/config.json +cp cba_settings.sqf release/cba_settings.sqf + python3 tools/build.py --deploy # Special Builds