Skip to content

Commit 5e88d35

Browse files
authored
Merge pull request #55 from apple1417/master
include save options in release
2 parents 65eb4df + 5a3e622 commit 5e88d35

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,14 @@ jobs:
113113
git config --global --add safe.directory `pwd`/libs/pyunrealsdk
114114
git config --global --add safe.directory `pwd`/libs/pyunrealsdk/libs/unrealsdk
115115
116+
set -e
117+
116118
cmake . --preset ${{ matrix.toolchain.preset }} -G Ninja
117119
cmake --build out/build/${{ matrix.toolchain.preset }} --target install
118120
119-
[ ${{ inputs.new-release-tag == '' && 1 || 0 }} -ne 0 ] \
120-
&& python prepare_release.py ${{ matrix.toolchain.preset }} --skip-install --no-bl3 --no-wl --unified \
121-
|| true
121+
if [ ${{ inputs.new-release-tag == '' && 1 || 0 }} -ne 0 ]; then
122+
python prepare_release.py ${{ matrix.toolchain.preset }} --skip-install
123+
fi
122124
123125
- name: Upload Artifact
124126
if: inputs.new-release-tag == ''

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Changelog
22

33
## v3.6 (Upcoming)
4+
Fixed that `save_options.sdkmod` wasn't actually being included in the release zip. Whoops.
45

56
### Legacy Compat v1.5
67
- Fixed handling of _0 names, which caused crashes in most constructor-based mods.

prepare_release.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
KEYBINDS = THIS_FOLDER / "src" / "keybinds"
2121
LEGACY_COMPAT = THIS_FOLDER / "src" / "legacy_compat"
2222
NETWORKING = THIS_FOLDER / "src" / "networking"
23+
SAVE_OPTIONS = THIS_FOLDER / "src" / "save_options"
2324
STANDARD_MENU = THIS_FOLDER / "src" / "willow2_mod_menu"
2425
UI_UTILS = THIS_FOLDER / "src" / "ui_utils"
2526

@@ -30,6 +31,7 @@
3031
KEYBINDS,
3132
LEGACY_COMPAT,
3233
NETWORKING,
34+
SAVE_OPTIONS,
3335
STANDARD_MENU,
3436
UI_UTILS,
3537
)

0 commit comments

Comments
 (0)