Skip to content

Commit 1e0b43c

Browse files
Automatic publishing of Flet package to pub.dev (#794)
* Changelog updated * Try publishing dart package * Force publishing * Publish Flutter package on a tag
1 parent ac45cd9 commit 1e0b43c

File tree

6 files changed

+82
-4
lines changed

6 files changed

+82
-4
lines changed

.appveyor.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,15 @@ for:
126126
build_script:
127127
- cd package
128128
- flutter test
129-
- echo "TODO"
129+
130+
deploy_script:
131+
# publish package
132+
- sh: |
133+
if [[ "$APPVEYOR_REPO_TAG_NAME" != "" ]]; then
134+
mkdir -p $HOME/.config/dart
135+
echo $PUB_DEV_TOKEN | base64 --decode > $HOME/.config/dart/pub-credentials.json
136+
dart pub publish -f
137+
fi
130138
131139
# ======================================
132140
# Build Flet View for Windows

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
11
# Flet changelog
22

3+
## 0.3.0
4+
5+
* `flet pack` CLI to create app bundles with custom icons and metadata (https://github.com/flet-dev/flet/issues/770)
6+
* Control comments (https://github.com/flet-dev/flet/issues/681)
7+
* Fix MaterialState error in ButtonStyle (https://github.com/flet-dev/flet/issues/689)
8+
* Flet CLI moved into separate module (https://github.com/flet-dev/flet/issues/679)
9+
* Added BorderRadius to `__init__.py` (https://github.com/flet-dev/flet/issues/691)
10+
* Added dense property to TextField and Dropdown controls (https://github.com/flet-dev/flet/issues/696)
11+
* Correctly handle control replacement (https://github.com/flet-dev/flet/issues/710)
12+
* Fix "replace" when moving children in the collection (https://github.com/flet-dev/flet/issues/711)
13+
* Remove hard-coded colors in Markdown default code theme (https://github.com/flet-dev/flet/issues/731)
14+
* Authorization should allow to override, such as request_token() methods (https://github.com/flet-dev/flet/issues/776)
15+
16+
## 0.2.4
17+
18+
* Use correct Flet viewer path when installed from a source package (https://github.com/flet-dev/flet/issues/675)
19+
* add `ControlEvent` to __init__.py (https://github.com/flet-dev/flet/issues/657)
20+
* fix: handle a few corner cases (https://github.com/flet-dev/flet/issues/503)
21+
22+
## 0.2.2
23+
24+
* Make `Control.offset` work without animation enabled (https://github.com/flet-dev/flet/issues/632)
25+
* Added `Dropdown.alignment` property (https://github.com/flet-dev/flet/issues/630)
26+
* Remove beartype runtime check for all `value` properties
27+
* Fix `page.scroll` to allow None and strings
28+
* Literals to Enums (https://github.com/flet-dev/flet/issues/626)
29+
* `gapless_playback` is `True` by default for base64 images
30+
* Ability to change border shape of FAB control (https://github.com/flet-dev/flet/issues/621)
31+
* Added Slider's `on_change_start` and `on_change_end` events (https://github.com/flet-dev/flet/issues/620)
32+
* DataTable control: 1-to-1 mapping to Flutter (https://github.com/flet-dev/flet/issues/583)
33+
* Implemented `page.can_launch_url()` (https://github.com/flet-dev/flet/issues/582)
34+
* Update project changelog from very beginning (https://github.com/flet-dev/flet/issues/581)
35+
* Publish pre releases to pypi.org (https://github.com/flet-dev/flet/issues/579)
36+
* Theming Slider control (https://github.com/flet-dev/flet/issues/573)
37+
338
## 0.1.65
439

540
* Fixed: Floating Action Button now showing on top left ([#567](https://github.com/flet-dev/flet/issues/567))

client/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ packages:
147147
path: "../package"
148148
relative: true
149149
source: path
150-
version: "0.1.65"
150+
version: "0.3.0"
151151
flutter:
152152
dependency: "direct main"
153153
description: flutter

package/CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,38 @@
1+
## 0.3.0
2+
3+
* `flet pack` CLI to create app bundles with custom icons and metadata (https://github.com/flet-dev/flet/issues/770)
4+
* Control comments (https://github.com/flet-dev/flet/issues/681)
5+
* Fix MaterialState error in ButtonStyle (https://github.com/flet-dev/flet/issues/689)
6+
* Flet CLI moved into separate module (https://github.com/flet-dev/flet/issues/679)
7+
* Added BorderRadius to `__init__.py` (https://github.com/flet-dev/flet/issues/691)
8+
* Added dense property to TextField and Dropdown controls (https://github.com/flet-dev/flet/issues/696)
9+
* Correctly handle control replacement (https://github.com/flet-dev/flet/issues/710)
10+
* Fix "replace" when moving children in the collection (https://github.com/flet-dev/flet/issues/711)
11+
* Remove hard-coded colors in Markdown default code theme (https://github.com/flet-dev/flet/issues/731)
12+
* Authorization should allow to override, such as request_token() methods (https://github.com/flet-dev/flet/issues/776)
13+
14+
## 0.2.4
15+
16+
* Use correct Flet viewer path when installed from a source package (https://github.com/flet-dev/flet/issues/675)
17+
* add `ControlEvent` to `__init__.py` (https://github.com/flet-dev/flet/issues/657)
18+
* fix: handle a few corner cases (https://github.com/flet-dev/flet/issues/503)
19+
20+
## 0.2.2
21+
22+
* Make `Control.offset` work without animation enabled (https://github.com/flet-dev/flet/issues/632)
23+
* Added `Dropdown.alignment` property (https://github.com/flet-dev/flet/issues/630)
24+
* Remove beartype runtime check for all `value` properties
25+
* Fix `page.scroll` to allow None and strings
26+
* Literals to Enums (https://github.com/flet-dev/flet/issues/626)
27+
* `gapless_playback` is `True` by default for base64 images
28+
* Ability to change border shape of FAB control (https://github.com/flet-dev/flet/issues/621)
29+
* Added Slider's `on_change_start` and `on_change_end` events (https://github.com/flet-dev/flet/issues/620)
30+
* DataTable control: 1-to-1 mapping to Flutter (https://github.com/flet-dev/flet/issues/583)
31+
* Implemented `page.can_launch_url()` (https://github.com/flet-dev/flet/issues/582)
32+
* Update project changelog from very beginning (https://github.com/flet-dev/flet/issues/581)
33+
* Publish pre releases to pypi.org (https://github.com/flet-dev/flet/issues/579)
34+
* Theming Slider control (https://github.com/flet-dev/flet/issues/573)
35+
136
## 0.1.65
237

338
* Fixed: Floating Action Button now showing on top left ([#567](https://github.com/flet-dev/flet/issues/567))

package/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: flet
22
description: Write entire Flutter app in Python or add server-driven UI experience into existing Flutter app.
33
homepage: https://flet.dev
44
repository: https://github.com/flet-dev/flet
5-
version: 0.1.65
5+
version: 0.3.0
66

77
# This package supports all platforms listed below.
88
platforms:

studio/client/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ packages:
147147
path: "../../package"
148148
relative: true
149149
source: path
150-
version: "0.1.65"
150+
version: "0.3.0"
151151
flutter:
152152
dependency: "direct main"
153153
description: flutter

0 commit comments

Comments
 (0)