diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index be094410dfa..c60f28bf114 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -366,6 +366,9 @@ jobs: cd ./fbw-a380x/out/ rm -rf build-modules 7z a -t7z -m0=lzma2 -mx=7 -v2047m ../../${{ env.BUILD_DIR_NAME }}/${{ env.STANDALONE_ZIP_NAME }} ./flybywire-aircraft-a380-842/ + if [ "$(ls -1 ./${{ env.BUILD_DIR_NAME }} | wc -l)" -eq 1 ]; then + mv ./${{ env.BUILD_DIR_NAME }}/${{ env.STANDALONE_ZIP_NAME }}.001 ./${{ env.BUILD_DIR_NAME }}/${{ env.STANDALONE_ZIP_NAME }} # Only applicable if split in 1 part! + fi cd ../../ df -h - name: Upload release assets