From 6c70822d45f386649250e09404fa97b6dd42f8a3 Mon Sep 17 00:00:00 2001 From: LiJianying Date: Sun, 16 Jan 2022 17:00:04 +0800 Subject: [PATCH] 0.3.6+9 --- distribute_options.yaml | 32 ++++++++++++++++++++++++++++++++ pubspec.yaml | 2 +- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 distribute_options.yaml diff --git a/distribute_options.yaml b/distribute_options.yaml new file mode 100644 index 00000000..aedc2596 --- /dev/null +++ b/distribute_options.yaml @@ -0,0 +1,32 @@ +output: dist/ +releases: + - name: prod + jobs: + - name: release-macos-dmg + package: + platform: macos + target: dmg + build_args: + dart-define: + APP_ENV: production + - name: release-macos-zip + package: + platform: macos + target: zip + build_args: + dart-define: + APP_ENV: production + - name: release-windows-exe + package: + platform: windows + target: exe + build_args: + dart-define: + APP_ENV: production + - name: release-windows-zip + package: + platform: windows + target: zip + build_args: + dart-define: + APP_ENV: production diff --git a/pubspec.yaml b/pubspec.yaml index 0f202831..f4da75d7 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # 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: 0.3.5+8 +version: 0.3.6+9 environment: sdk: ">=2.7.0 <3.0.0"