diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index 4523279e5..b7892bf81 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: @@ -27,11 +28,16 @@ jobs: with: 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 - name: Upload release artifacts uses: softprops/action-gh-release@v2 with: - name: inav-configurator-dev-${{ steps.date.outputs.today }}-${{ github.run_number }}-${{ github.sha }} - tag_name: v${{ steps.date.outputs.today }}.${{ github.run_number }} + name: inav-configurator-${{ env.VERSION }}-dev-${{ steps.date.outputs.today }}-${{ github.run_number }}-${{ github.sha }} + 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 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/" diff --git a/package.json b/package.json index e4a264953..289f163a5 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": "9.0.0", + "version": "8.1.0", "main": "js/main.js", "scripts": { "start": "electron-forge start",