Skip to content

Commit 481a1bf

Browse files
authored
Merge pull request #6 from Poujhit/dev
Version v2.5.1 release
2 parents d276ade + 1445407 commit 481a1bf

File tree

7 files changed

+23
-4
lines changed

7 files changed

+23
-4
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [2.5.1] - 03 May 2023
2+
3+
- **Fix**: Formatting issue in bubbles.dart file
4+
- **Code**: Added scripts for deploy and dry-run
5+
16
## [2.5.0] - 02 May 2023
27

38
- **Fix**: setState after the widget being disposed #4

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ In your flutter project(in pubspec.yaml) add the dependency:
1111

1212
```yaml
1313
dependencies:
14-
floating_bubbles: ^2.5.0
14+
floating_bubbles: ^2.5.1
1515
```
1616
1717
Import the package:

deploy.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#! /bin/bash
2+
3+
BRANCH="$(git rev-parse --abbrev-ref HEAD)"
4+
if [[ "$BRANCH" != "master" ]]; then
5+
echo 'Deploy script will only run in master branch.';
6+
exit 1;
7+
fi
8+
9+
echo 'Deploying to Pub...';
10+
dart format .
11+
flutter pub publish

dry-run.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#! /bin/bash
2+
dart format .
3+
flutter pub publish -n

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ packages:
6363
path: ".."
6464
relative: true
6565
source: path
66-
version: "2.5.0"
66+
version: "2.5.1"
6767
flutter:
6868
dependency: "direct main"
6969
description: flutter

lib/src/bubbles.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ class _FloatingBubblesState extends State<FloatingBubbles> {
139139
}
140140
if (widget.duration != null && widget.duration != 0)
141141
Timer(Duration(seconds: widget.duration!), () {
142-
if(mounted) {
142+
if (mounted) {
143143
setState(() {
144144
checkToStopAnimation = 1;
145145
});

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: floating_bubbles
22
description: A Flutter Package for adding Floating bubbles on the Foreground to any Flutter widget.
3-
version: 2.5.0
3+
version: 2.5.1
44
homepage: https://github.com/Poujhit/floating_bubbles
55
environment:
66
sdk: '>=2.12.0 <3.0.0'

0 commit comments

Comments
 (0)