Bump version script

This commit is contained in:
Hillel Coren 2023-11-01 16:25:41 +02:00
parent cdbdb369cb
commit f22e44658a
1 changed files with 9 additions and 3 deletions

View File

@ -5,9 +5,15 @@ 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/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///g" ./pubspec.foss.yaml
#sed -i -e "s///g" ./pubspec.foss.yaml
#sed -i -e "s///g" ./pubspec.foss.yaml
#sed -i -e "s///g" ./pubspec.foss.yaml
# pubspec.yaml
@ -15,4 +21,4 @@ sed -i -e "s/version: 5.0.$current_version+$current_version/version: 5.0.$new_ve
# flatpak.yml
# com.invoiceninja.app.metainfo
# contants
# snapcraft
# snapcraft