From a2daaf284aeddd73cbe29e5b3a929e4cd4bd298d Mon Sep 17 00:00:00 2001 From: Pawel Spychalski Date: Tue, 2 Jul 2024 21:14:37 +0200 Subject: [PATCH 1/7] Do not run in sandbox to resolve running in linux envs from VSCode --- .vscode/launch.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index f8efa898f..96576e282 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -9,7 +9,7 @@ "runtimeExecutable": "${workspaceFolder}/node_modules/@electron-forge/cli/script/vscode.cmd", }, - "args": ["--inspect"], + "args": ["--inspect", "--no-sandbox"], "env": { "NODE_ENV": "development", "NODE_PATH": "${workspaceFolder}/js/" From a964909eadfe5ee0a6694c4695777dabd17622f4 Mon Sep 17 00:00:00 2001 From: Marcelo Bezerra <23555060+mmosca@users.noreply.github.com> Date: Tue, 21 Jan 2025 20:24:29 +0100 Subject: [PATCH 2/7] Bump version to 8.1.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 70e132aaa..9ab6214e1 100755 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "inav-configurator", "productName": "INAV Configurator", "description": "Configurator for the open source flight controller software INAV.", - "version": "8.0.0", + "version": "8.1.0", "main": "js/main.js", "scripts": { "start": "electron-forge start", From 8df8bd87d96e0b26f47452edb7cd49cfdd365bdb Mon Sep 17 00:00:00 2001 From: Marcelo Bezerra <23555060+mmosca@users.noreply.github.com> Date: Wed, 22 Jan 2025 18:49:44 +0100 Subject: [PATCH 3/7] Add version to release name --- .github/workflows/nightly-build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index 4523279e5..0ff573168 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -27,10 +27,14 @@ jobs: with: path: artifacts merge-multiple: true + - name: Get version + run: | + VERSION=$(grep version package.json | cut -d: -f2 | cut -d\" -f2) + echo "VERSION=${VERSION}" >> $GITHUB_ENV - name: Upload release artifacts uses: softprops/action-gh-release@v2 with: - name: inav-configurator-dev-${{ steps.date.outputs.today }}-${{ github.run_number }}-${{ github.sha }} + name: inav-configurator-${{ env.VERSION }}-dev-${{ steps.date.outputs.today }}-${{ github.run_number }}-${{ github.sha }} tag_name: v${{ steps.date.outputs.today }}.${{ github.run_number }} # To create release on a different repo, we need a token setup token: ${{ secrets.NIGHTLY_TOKEN }} From 104540380b73f44cb827bf0bd3fc2faa9a149c88 Mon Sep 17 00:00:00 2001 From: Marcelo Bezerra <23555060+mmosca@users.noreply.github.com> Date: Wed, 22 Jan 2025 18:57:56 +0100 Subject: [PATCH 4/7] update version --- .github/workflows/nightly-build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index 0ff573168..c76a74734 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -28,13 +28,14 @@ jobs: path: artifacts merge-multiple: true - name: Get version + id: version run: | VERSION=$(grep version package.json | cut -d: -f2 | cut -d\" -f2) - echo "VERSION=${VERSION}" >> $GITHUB_ENV + echo "version=${VERSION}" >> $GITHUB_OUTPUT - name: Upload release artifacts uses: softprops/action-gh-release@v2 with: - name: inav-configurator-${{ env.VERSION }}-dev-${{ steps.date.outputs.today }}-${{ github.run_number }}-${{ github.sha }} + name: inav-configurator-${{ steps.version.version }}-dev-${{ steps.date.outputs.today }}-${{ github.run_number }}-${{ github.sha }} tag_name: v${{ steps.date.outputs.today }}.${{ github.run_number }} # To create release on a different repo, we need a token setup token: ${{ secrets.NIGHTLY_TOKEN }} From 55471a1144bf2c1f4063f6609fecddaac7c1d1a9 Mon Sep 17 00:00:00 2001 From: Marcelo Bezerra <23555060+mmosca@users.noreply.github.com> Date: Wed, 22 Jan 2025 19:03:43 +0100 Subject: [PATCH 5/7] Enable branch --- .github/workflows/nightly-build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index c76a74734..00aaa263a 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -4,6 +4,7 @@ on: push: branches: - master + - maintenance-8.x.x # pull_request: jobs: From 9e880f61083db6c725849bd9450d307dba4c0311 Mon Sep 17 00:00:00 2001 From: Marcelo Bezerra <23555060+mmosca@users.noreply.github.com> Date: Wed, 22 Jan 2025 19:20:02 +0100 Subject: [PATCH 6/7] Version ended up empty --- .github/workflows/nightly-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index 00aaa263a..f016ea2c1 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -32,11 +32,11 @@ jobs: id: version run: | VERSION=$(grep version package.json | cut -d: -f2 | cut -d\" -f2) - echo "version=${VERSION}" >> $GITHUB_OUTPUT + echo "VERSION=${VERSION}" >> $GITHUB_ENV - name: Upload release artifacts uses: softprops/action-gh-release@v2 with: - name: inav-configurator-${{ steps.version.version }}-dev-${{ steps.date.outputs.today }}-${{ github.run_number }}-${{ github.sha }} + name: inav-configurator-${{ env.VERSION }}-dev-${{ steps.date.outputs.today }}-${{ github.run_number }}-${{ github.sha }} tag_name: v${{ steps.date.outputs.today }}.${{ github.run_number }} # To create release on a different repo, we need a token setup token: ${{ secrets.NIGHTLY_TOKEN }} From fca718a78bd39a709c2f7f64ca395c8baefc151e Mon Sep 17 00:00:00 2001 From: Marcelo Bezerra <23555060+mmosca@users.noreply.github.com> Date: Wed, 22 Jan 2025 19:42:19 +0100 Subject: [PATCH 7/7] Add verdsion to tag --- .github/workflows/nightly-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index f016ea2c1..b7892bf81 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -37,7 +37,7 @@ jobs: uses: softprops/action-gh-release@v2 with: name: inav-configurator-${{ env.VERSION }}-dev-${{ steps.date.outputs.today }}-${{ github.run_number }}-${{ github.sha }} - tag_name: v${{ steps.date.outputs.today }}.${{ github.run_number }} + tag_name: v${{env.VERSION}}-${{ steps.date.outputs.today }}.${{ github.run_number }} # To create release on a different repo, we need a token setup token: ${{ secrets.NIGHTLY_TOKEN }} repository: iNavFlight/inav-configurator-nightly