Skip to content

Commit

Permalink
Merge pull request #32 from nventive/dev/thla/ci-sdk-version
Browse files Browse the repository at this point in the history
ci: Target specific Dart/Flutter SDK
  • Loading branch information
Soap-141 authored Jun 3, 2024
2 parents 4186ab6 + 49c9cb5 commit 7c5eae7
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
5 changes: 3 additions & 2 deletions build/templates/flutter-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ parameters:

steps:
- task: FlutterInstall@0
displayName: "Run Flutter Install"
displayName: 'Run Flutter Install'
inputs:
mode: 'auto'
channel: 'stable'
version: 'latest'
version: 'custom'
customVersion : $(FlutterVersion)
5 changes: 4 additions & 1 deletion build/variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@
AppCenterDistributionGroup: '00000000-0000-0000-0000-000000000000'

# Solution to build.
projectName: FlutterApplicationTemplate
ProjectName: FlutterApplicationTemplate

# Flutter version.
FlutterVersion: '3.22.1'

# Virtual machine images.
windowsHostedAgentImage: 'windows-2022'
Expand Down
2 changes: 1 addition & 1 deletion src/app/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1274,5 +1274,5 @@ packages:
source: hosted
version: "3.1.2"
sdks:
dart: ">=3.3.0 <4.0.0"
dart: ">=3.4.0 <4.0.0"
flutter: ">=3.19.0"
2 changes: 1 addition & 1 deletion src/app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ publish_to: 'none'
version: 1.0.0+1

environment:
sdk: '>=3.3.0 <4.0.0'
sdk: '>=3.4.0 <4.0.0'

dependencies:
dio: ^5.4.1
Expand Down
3 changes: 3 additions & 0 deletions src/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)

Prefix your items with `(Template)` if the change is about the template and not the resulting application.

## 0.19.1
- Target specific Dart (>=3.4.0 <4.0.0) / Flutter (3.22.1) SDK.

## 0.19.0
- Replaced Powershell Copy Tool by a Dart CLI.

Expand Down
2 changes: 1 addition & 1 deletion src/cli/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 1.0.0
repository: https://github.com/nventive/FlutterApplicationTemplate

environment:
sdk: ^3.3.4
sdk: '>=3.4.0 <4.0.0'

dependencies:
args: ^2.4.2
Expand Down

0 comments on commit 7c5eae7

Please sign in to comment.