Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
hillelcoren committed Nov 2, 2023
2 parents 21828d1 + 8d4edf2 commit 883bfff
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/flatpak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
draft: false
prerelease: false
title: "Latest Release"
automatic_release_tag: "v5.0.136"
automatic_release_tag: "v5.0.137"
files: |
${{ github.workspace }}/artifacts/Invoice-Ninja-Archive
${{ github.workspace }}/artifacts/Invoice-Ninja-Hash
Expand Down
3 changes: 2 additions & 1 deletion bump_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@

current_version=$(grep "version: 5.0." pubspec.yaml | cut -f2 -d "+" )
new_vesion=$((current_version+1))
date_today=$(date +%F)

echo "Bump version... $current_version => $new_vesion"

sed -i -e "s/version: 5.0.$current_version+$current_version/version: 5.0.$new_vesion+$new_vesion/g" ./pubspec.yaml
sed -i -e "s/version: 5.0.$current_version+$current_version/version: 5.0.$new_vesion+$new_vesion/g" ./pubspec.foss.yaml
sed -i -e "s/v5.0.$current_version/v5.0.$new_vesion/g" ./.github/workflows/flatpak.yml
sed -i -e 's/<releases>/<releases>\n <release version="5.0.'$new_vesion'" date="XXXX-XX-XX"\/>/g' ./flatpak/com.invoiceninja.InvoiceNinja.metainfo.xml
sed -i -e 's/<releases>/<releases>\n <release version="5.0.'$new_vesion'" date="'$date_today'"\/>/g' ./flatpak/com.invoiceninja.InvoiceNinja.metainfo.xml
sed -i -e "s/kClientVersion = '5.0.$current_version'/kClientVersion = '5.0.$new_vesion'/g" ./lib/constants.dart
sed -i -e "s/version: '5.0.$current_version'/version: '5.0.$new_vesion'/g" ./snap/snapcraft.yaml
3 changes: 2 additions & 1 deletion flatpak/com.invoiceninja.InvoiceNinja.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<id>com.invoiceninja.InvoiceNinja</id>
<name>Invoice Ninja</name>
<summary>Create invoices, accept payments, track expenses &amp; time tasks</summary>
<developer_name>Hillel Coren</developer_name>
<developer_name>Invoice Ninja</developer_name>
<url type="homepage">https://invoiceninja.com</url>
<project_license>AAL</project_license>
<metadata_license>CC0-1.0</metadata_license>
Expand Down Expand Up @@ -47,6 +47,7 @@
</screenshots>
<content_rating type="oars-1.1"/>
<releases>
<release version="5.0.137" date="2023-11-02"/>
<release version="5.0.136" date="2023-11-01"/>
</releases>
</component>
2 changes: 1 addition & 1 deletion lib/constants.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class Constants {
}

// TODO remove version once #46609 is fixed
const String kClientVersion = '5.0.136';
const String kClientVersion = '5.0.137';
const String kMinServerVersion = '5.0.4';

const String kAppName = 'Invoice Ninja';
Expand Down
2 changes: 1 addition & 1 deletion pubspec.foss.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: invoiceninja_flutter
description: Client for Invoice Ninja
version: 5.0.136+136
version: 5.0.137+137
homepage: https://invoiceninja.com
documentation: https://invoiceninja.github.io
publish_to: none
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: invoiceninja_flutter
description: Client for Invoice Ninja
version: 5.0.136+136
version: 5.0.137+137
homepage: https://invoiceninja.com
documentation: https://invoiceninja.github.io
publish_to: none
Expand Down
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: invoiceninja
version: '5.0.136'
version: '5.0.137'
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
Expand Down

0 comments on commit 883bfff

Please sign in to comment.