Skip to content

Commit

Permalink
Added upland of cba_settings files (#1122)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasBrostrom authored Jan 16, 2024
1 parent 08ff3c9 commit 6d6e193
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions tools/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6d6e193

Please sign in to comment.