Преглед изворни кода

[flutter] Add publishing script, fix changelog.

Mario Zechner пре 2 година
родитељ
комит
7c76c5803c

+ 5 - 0
spine-flutter/CHANGELOG.md

@@ -1,3 +1,8 @@
+# 4.1.1
+* Backport to 4.1 spine-runtimes branch.
+* Blend mode support.
+* Hot-reload support. The underlying `SkeletonDrawable` will be retained if the asset file names and type provided to the `SpineWidget` constructor has not changed.
+
 # 4.2.11
 * Update README.md with setup and development instructions.
 

+ 1 - 1
spine-flutter/example/pubspec.yaml

@@ -4,7 +4,7 @@ publish_to: 'none'
 version: 1.0.0+1
 
 environment:
-  sdk: ">=2.17.6 <3.0.0"
+  sdk: '>=2.17.6 <4.0.0'
   flutter: ">=3.7.3"
 
 dependencies:

+ 6 - 0
spine-flutter/publish.sh

@@ -0,0 +1,6 @@
+#!/bin/sh
+set -e
+./setup.sh
+./compile-wasm.sh
+dart pub publish --dry-run
+dart pub publish

+ 1 - 1
spine-flutter/pubspec.yaml

@@ -7,7 +7,7 @@ issue_tracker: https://github.com/esotericsoftware/spine-runtimes/issues
 documentation: https://esotericsoftware.com/spine-flutter
 
 environment:
-  sdk: ">=2.17.6 <3.0.0"
+  sdk: '>=2.17.6 <4.0.0'
   flutter: ">=3.7.6"
 
 dependencies: