Skip to content

Commit 5075c8a

Browse files
author
Sascha Rudolf
committed
update build scripts
1 parent 8231d7c commit 5075c8a

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.github/workflows/pre-release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,14 @@ jobs:
2929
run: |
3030
./scripts/dev-env/run.sh ./scripts/setup.sh --clean
3131
./scripts/dev-env/run.sh ./scripts/build.sh --no-tty -j 4
32+
rm -rf fbw-a32nx/src
33+
docker system prune -af
3234
- name: Build ZIP file
3335
run: |
34-
./scripts/dev-env/run.sh node ./scripts/fragment_a32nx.js
36+
node ./scripts/fragment_a32nx.js
3537
3638
cp ./fbw-a32nx/out/build-modules/modules.json ./fbw-a32nx/out/flybywire-aircraft-a320-neo/install.json
37-
./scripts/dev-env/run.sh node ./scripts/install-source_a32nx.js
39+
node ./scripts/install-source_a32nx.js
3840
mkdir ./${{ env.BUILD_DIR_NAME }}
3941
cd ./fbw-a32nx/out/
4042
zip -r ../../${{ env.BUILD_DIR_NAME }}/${{ env.RELEASE_ZIP_NAME }} ./flybywire-aircraft-a320-neo/

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,14 @@ jobs:
3232
run: |
3333
./scripts/dev-env/run.sh ./scripts/setup.sh --clean
3434
./scripts/dev-env/run.sh ./scripts/build.sh --no-tty -j 4
35+
rm -rf fbw-a32nx/src
36+
docker system prune -af
3537
- name: Build ZIP file
3638
run: |
37-
./scripts/dev-env/run.sh node ./scripts/fragment_a32nx.js
39+
node ./scripts/fragment_a32nx.js
3840
3941
cp ./fbw-a32nx/out/build-modules/modules.json ./fbw-a32nx/out/flybywire-aircraft-a320-neo/install.json
40-
./scripts/dev-env/run.sh node ./scripts/install-source_a32nx.js
42+
node ./scripts/install-source_a32nx.js
4143
mkdir ./${{ env.BUILD_DIR_NAME }}
4244
cd ./fbw-a32nx/out/
4345
zip -r ../../${{ env.BUILD_DIR_NAME }}/${{ env.STABLE_ZIP_NAME }} ./flybywire-aircraft-a320-neo/

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "a32nx",
33
"version": "0.11.0",
4-
"edition": "development",
4+
"edition": "stable",
55
"imports": {
66
"#build-utils": "./build-utils.js"
77
},

0 commit comments

Comments
 (0)