diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8553a0bc6..c68433186 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,6 +4,11 @@ on: push: branches: - master + +concurrency: + group: ci-release-${{ github.ref }}-1 + cancel-in-progress: true + jobs: build-main: name: Build Web - MAIN diff --git a/.github/workflows/flatpak.yml b/.github/workflows/flatpak.yml index 4f31fa439..61e8310f0 100644 --- a/.github/workflows/flatpak.yml +++ b/.github/workflows/flatpak.yml @@ -6,6 +6,10 @@ on: # branches: # - master +concurrency: + group: ci-release-${{ github.ref }}-1 + cancel-in-progress: true + env: project-id: com.invoiceninja.app @@ -14,6 +18,7 @@ jobs: name: Build Flutter app env: api_secret: ${{secrets.api_secret}} + commit_secret: ${{secrets.commit_secret}} runs-on: ubuntu-20.04 steps: - name: Checkout code @@ -58,8 +63,26 @@ jobs: - name: Upload app archive to workflow uses: actions/upload-artifact@v3 with: - name: Invoice-Ninja-Archive - path: Invoice-Ninja-Linux-Portable.tar.gz + #name: Invoice-Ninja-Archive + #path: Invoice-Ninja-Linux-Portable.tar.gz + name: linux-artifacts + path: output/* + + - name: Download artifacts + uses: actions/download-artifact@v3 + with: + path: artifacts + + - name: Create Draft Release & Upload artifacts + uses: marvinpinto/action-automatic-releases@v1.2.1 + with: + repo_token: "${{secrets.commit_secret}}" + draft: true + prerelease: false + title: "Latest Release" + automatic_release_tag: "v5.0.128" + files: | + ${{ github.workspace }}/artifacts/linux-artifacts/* # build-flatpak: # name: Build flatpak diff --git a/assets/images/logo.svg b/assets/images/logo.svg new file mode 100644 index 000000000..8e838c8f8 --- /dev/null +++ b/assets/images/logo.svg @@ -0,0 +1,2 @@ + +Invoice Ninja icon \ No newline at end of file diff --git a/lib/constants.dart b/lib/constants.dart index 2722e3861..011fbf055 100644 --- a/lib/constants.dart +++ b/lib/constants.dart @@ -4,7 +4,7 @@ class Constants { } // TODO remove version once #46609 is fixed -const String kClientVersion = '5.0.127'; +const String kClientVersion = '5.0.128'; const String kMinServerVersion = '5.0.4'; const String kAppName = 'Invoice Ninja'; diff --git a/pubspec.foss.yaml b/pubspec.foss.yaml index 7acc0400d..450d2b66c 100644 --- a/pubspec.foss.yaml +++ b/pubspec.foss.yaml @@ -1,6 +1,6 @@ name: invoiceninja_flutter description: Client for Invoice Ninja -version: 5.0.127+127 +version: 5.0.128+128 homepage: https://invoiceninja.com documentation: https://invoiceninja.github.io publish_to: none diff --git a/pubspec.yaml b/pubspec.yaml index 209d8d69e..2805ca5ca 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: invoiceninja_flutter description: Client for Invoice Ninja -version: 5.0.127+127 +version: 5.0.128+128 homepage: https://invoiceninja.com documentation: https://invoiceninja.github.io publish_to: none diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 4d1c820b2..20900ff0a 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,5 +1,5 @@ name: invoiceninja -version: '5.0.127' +version: '5.0.128' summary: Create invoices, accept payments, track expenses & time tasks description: "### Note: if the app fails to run using `snap run invoiceninja` it may help to run `/snap/invoiceninja/current/bin/invoiceninja` instead