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 1, 2023
2 parents 879a64a + d057c84 commit 836c18e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/hashes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:

- name: Generate Hashes
uses: MCJack123/ghaction-generate-release-hashes@v1
uses: MCJack123/ghaction-generate-release-hashes@v4
with:
hash-type: sha256
file-name: hashes.txt
Expand Down
27 changes: 18 additions & 9 deletions bump_version.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,25 @@
#!/bin/bash

echo "Bump version..."

current_version=$(grep "version: 5.0." pubspec.yaml | cut -f2 -d "+" )
echo "Current Version: $current_version"

new_vesion=$((current_version+1))
echo "New Version: $new_vesion"

# pubspec.foss.yaml
# pubspec.yaml
# flatpak.yml
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.app.metainfo.xml


#sed -i -e "s///g" ./pubspec.foss.yaml
#sed -i -e "s///g" ./pubspec.foss.yaml
#sed -i -e "s///g" ./pubspec.foss.yaml


# X pubspec.yaml
# X pubspec.foss.yaml
# X flatpak.yml
# com.invoiceninja.app.metainfo
# contants
# snapcraft
# snapcraft

0 comments on commit 836c18e

Please sign in to comment.