diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 8c3eabaff4e..1402838767b 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -29,12 +29,14 @@ jobs: run: | ./scripts/dev-env/run.sh ./scripts/setup.sh --clean ./scripts/dev-env/run.sh ./scripts/build.sh --no-tty -j 4 + rm -rf fbw-a32nx/src + docker system prune -af - name: Build ZIP file run: | - ./scripts/dev-env/run.sh node ./scripts/fragment_a32nx.js + node ./scripts/fragment_a32nx.js cp ./fbw-a32nx/out/build-modules/modules.json ./fbw-a32nx/out/flybywire-aircraft-a320-neo/install.json - ./scripts/dev-env/run.sh node ./scripts/install-source_a32nx.js + node ./scripts/install-source_a32nx.js mkdir ./${{ env.BUILD_DIR_NAME }} cd ./fbw-a32nx/out/ zip -r ../../${{ env.BUILD_DIR_NAME }}/${{ env.RELEASE_ZIP_NAME }} ./flybywire-aircraft-a320-neo/ diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a632f211cca..553c642985a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,12 +32,14 @@ jobs: run: | ./scripts/dev-env/run.sh ./scripts/setup.sh --clean ./scripts/dev-env/run.sh ./scripts/build.sh --no-tty -j 4 + rm -rf fbw-a32nx/src + docker system prune -af - name: Build ZIP file run: | - ./scripts/dev-env/run.sh node ./scripts/fragment_a32nx.js + node ./scripts/fragment_a32nx.js cp ./fbw-a32nx/out/build-modules/modules.json ./fbw-a32nx/out/flybywire-aircraft-a320-neo/install.json - ./scripts/dev-env/run.sh node ./scripts/install-source_a32nx.js + node ./scripts/install-source_a32nx.js mkdir ./${{ env.BUILD_DIR_NAME }} cd ./fbw-a32nx/out/ zip -r ../../${{ env.BUILD_DIR_NAME }}/${{ env.STABLE_ZIP_NAME }} ./flybywire-aircraft-a320-neo/ diff --git a/package.json b/package.json index 2f88987edce..30d6da9593e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "a32nx", "version": "0.11.0", - "edition": "development", + "edition": "stable", "imports": { "#build-utils": "./build-utils.js" },