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 836c18e + 16c6c04 commit 252fe0c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 50 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/flatpak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,23 @@ jobs:
cd build/linux/x64/release/bundle || exit
tar -czaf $archiveName ./*
shasum -a 256 $archiveName > sha256.txt
mv $archiveName "$baseDir"/
mv sha256.txt "$baseDir"/
- name: Upload app archive to workflow
uses: actions/upload-artifact@v3
with:
name: Invoice-Ninja-Archive
path: Invoice-Ninja-Linux-Portable.tar.gz

- name: Upload app archive hash to workflow
uses: actions/upload-artifact@v3
with:
name: Invoice-Ninja-Hash
path: sha256.txt

- name: Download artifacts
uses: actions/download-artifact@v3
with:
Expand All @@ -80,6 +89,7 @@ jobs:
automatic_release_tag: "v5.0.128"
files: |
${{ github.workspace }}/artifacts/Invoice-Ninja-Archive
${{ github.workspace }}/artifacts/Invoice-Ninja-Hash
# build-flatpak:
# name: Build flatpak
Expand Down
33 changes: 0 additions & 33 deletions .github/workflows/hashes.yml

This file was deleted.

22 changes: 5 additions & 17 deletions bump_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,9 @@ new_vesion=$((current_version+1))

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/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
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

0 comments on commit 252fe0c

Please sign in to comment.