Skip to content

Commit

Permalink
Fix app image builder set version
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed Jun 25, 2024
1 parent 280f7f9 commit 42bc0c4
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 27 deletions.
24 changes: 4 additions & 20 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,9 @@
# Changelog

<!--ENTER CHANGELOG HERE-->

## 2.2.0-beta.0 (2024-06-25)

* Add erase elements property to eraser and patheraser ([#680](https://github.com/LinwoodDev/Butterfly/issues/680))
* Add shape element to normal eraser([#683](https://github.com/LinwoodDev/Butterfly/issues/683))
* Add lock layer ([#688](https://github.com/LinwoodDev/Butterfly/issues/688))
* Add export button to templates dialog
* Improve packs dialog
* Fix spacer has no help page
* Fix utilities state on undo/redo ([#721](https://github.com/LinwoodDev/Butterfly/issues/721))
* Fix select and eye dropper temporary tool already gets removed before doing the action
* Fix asset select dialog overflows on too many assets
* Fix full screen button in top left corner menu doesn't work
* Upgrade AGB to 8.5.0 in android

Read more here: https://linwood.dev/butterfly/2.2.0-beta.0

## 2.1.1 (2024-06-10)

<!--ENTER CHANGELOG HERE-->

## 2.1.1 (2024-06-10)

Nothing changed from the nightly build to the stable release.

See all changes since the last stable here: https://linwood.dev/butterfly/2.1.1
Expand Down
2 changes: 1 addition & 1 deletion api/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: butterfly_api
description: The Linwood Butterfly API
version: 2.2.0-beta.1
version: 2.2.0-beta.0

environment:
sdk: '>=3.0.0 <4.0.0'
Expand Down
2 changes: 1 addition & 1 deletion app/AppImageBuilder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ script:
AppDir:
path: ./AppDir
app_info:
version: 2.2.0-beta.1
id: dev.linwood.butterfly
name: Linwood Butterfly
icon: dev.linwood.butterfly
version: 2.2.0-beta.0
Expand Down
2 changes: 1 addition & 1 deletion app/linux/debian/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: linwood-butterfly
Version: 2.2.0-beta.1
Version: 2.2.0-beta.0
Section: base
Priority: optional
Homepage: https://github.com/LinwoodDev/butterfly
Expand Down
4 changes: 2 additions & 2 deletions app/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ packages:
path: "../api"
relative: true
source: path
version: "2.2.0-beta.1"
version: "2.2.0-beta.0"
camera:
dependency: "direct main"
description:
Expand Down Expand Up @@ -307,7 +307,7 @@ packages:
dart_leap:
dependency: transitive
description:
path: "packages/dart_leap"
path: "packages\\dart_leap"
ref: "0e04c453c2b6d4aa499f79e54bb1c0b7a9b2c42c"
resolved-ref: "0e04c453c2b6d4aa499f79e54bb1c0b7a9b2c42c"
url: "https://github.com/LinwoodDev/dart_pkgs.git"
Expand Down
2 changes: 1 addition & 1 deletion app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ publish_to: none
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 2.2.0-beta.1+110
version: 2.2.0-beta.0+109

environment:
sdk: ">=3.0.0 <4.0.0"
Expand Down
2 changes: 1 addition & 1 deletion tools/set_version.dart
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Future<void> main(List<String> args) async {
Future<void> updateAppImageVersion(String version) async {
var file = File('app/AppImageBuilder.yml');
var lines = await file.readAsLines();
lines[13] = ' version: $version';
lines[16] = ' version: $version';
lines.add('');
await file.writeAsString(lines.join('\r\n'));
print('Successfully updated app image version to $version');
Expand Down

0 comments on commit 42bc0c4

Please sign in to comment.