Skip to content

Commit

Permalink
Support Unreal Engine 5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
nutti committed Dec 27, 2024
1 parent 94ef56d commit 11b0cc3
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
3 changes: 1 addition & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ workflows:
- unreal-engine-ci
matrix:
parameters:
# TODO: The container image is not supported for 5.4.0.
unreal-engine-version: [
"4.27.0", "5.0.0", "5.1.0", "5.2.0", "5.3.0"
"4.27.0", "5.0.0", "5.1.0", "5.2.0", "5.3.0", "5.4.3", "5.5.1"
]
version: ["free", "full"]
- build-sample:
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ jobs:
fail-fast: false
matrix:
unreal_engine_version:
["4.27.0", "5.0.0", "5.1.0", "5.2.0", "5.3.0", "5.4.0"]
[
"4.27.0",
"5.0.0", "5.1.0", "5.2.0", "5.3.0", "5.4.0", "5.5.0"
]
version:
["free", "full"]
steps:
Expand All @@ -44,7 +47,7 @@ jobs:
mv Kdtree_UE${{ matrix.unreal_engine_version }}_${{ matrix.version }}.zip release-plugin-${{ matrix.version }}
- name: Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: Kdtree_${{ matrix.version }}
path: "release-plugin-${{ matrix.version }}"
Expand All @@ -63,7 +66,7 @@ jobs:
mv samples/SampleProject.zip release-sample
- name: Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: SampleProject
path: "release-sample"
Expand All @@ -77,7 +80,7 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v2
- name: Fetch Artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
path: dist
- name: Install hub command
Expand Down
2 changes: 1 addition & 1 deletion Kdtree/Kdtree.uplugin
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"VersionName": "1.3",
"FriendlyName": "kd-tree",
"Description": "Blueprint nodes to build a kd-tree",
"EngineVersion": "5.4.0",
"EngineVersion": "5.5.0",
"Category": "Other",
"CreatedBy": "nutti (Colorful Pico)",
"CreatedByURL": "https://github.com/nutti/UEPlugin-Kdtree",
Expand Down
4 changes: 2 additions & 2 deletions tools/remove_code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -eEu

SUPPORTED_VERSIONS=(
"4.26.0" "4.27.0"
"5.0.0" "5.1.0" "5.2.0" "5.3.0" "5.4.0"
"5.0.0" "5.1.0" "5.2.0" "5.3.0" "5.4.0" "5.5.0"
)

function usage() {
Expand All @@ -19,7 +19,7 @@ if [ $# -ne 4 ]; then
fi

SOURCE_DIR=${1}
ENGINE_VERSION=${2}
ENGINE_VERSION="${2%.*}.0"
FULL=0
if [ "${3}" = "full" ]; then
FULL=1
Expand Down
6 changes: 3 additions & 3 deletions tools/replace_engine_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -eEu

SUPPORTED_VERSIONS=(
"4.26.0" "4.27.0"
"5.0.0" "5.1.0" "5.2.0" "5.3.0" "5.4.0"
"5.0.0" "5.1.0" "5.2.0" "5.3.0" "5.4.0" "5.5.0"
)

function usage() {
Expand All @@ -19,7 +19,7 @@ if [ $# -ne 2 ]; then
fi

source_dir=${1}
engine_version=${2}
engine_version="${2%.*}.0"

supported=0
for v in "${SUPPORTED_VERSIONS[@]}"; do
Expand All @@ -35,6 +35,6 @@ fi

# shellcheck disable=SC2044
for file in $(find "${source_dir}" -name "*.uplugin"); do
sed -i -e "s/\"EngineVersion\": \"5.4.0\",/\"EngineVersion\": \"${engine_version}\",/g" "${file}"
sed -i -e "s/\"EngineVersion\": \"5.5.0\",/\"EngineVersion\": \"${engine_version}\",/g" "${file}"
echo "Replaced engine version in ${file}"
done

0 comments on commit 11b0cc3

Please sign in to comment.