Skip to content

Commit

Permalink
Update selfhosted-poc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kirre-bylund authored Oct 31, 2024
1 parent afeb013 commit 7f158db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/selfhosted-poc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ jobs:
SDK_PATH="$(pwd)"
SDK_NAME=`find "$SDK_PATH" -type f -name "*.uplugin" | sed -n -r "s/.*\/([-A-Za-z0-9_]+)\.uplugin/\1/p"`
SDK_VERSION=`sed -n -r 's/^ +\"VersionName\": \"([0-9]+.[0-9]+.[0-9]+)\",/\1/p' < "$SDK_PATH/$SDK_NAME/$SDK_NAME.uplugin"`
sed -i '' -r "s/^( +)(\"VersionName\": \"[0-9\.]+\",)/\1\2\n\1\"EngineVersion\": \"${{ matrix.UE_VERSION }}\",/g" "$SDK_PATH/$SDK_NAME/$SDK_NAME.uplugin"
CURRENT_PACKAGE_DIR="Packaged"
echo "PACKAGE_DIR=${CURRENT_PACKAGE_DIR}" >> $GITHUB_ENV
mkdir -p "$CURRENT_PACKAGE_DIR"
Expand Down

0 comments on commit 7f158db

Please sign in to comment.