File tree 5 files changed +56
-1
lines changed
5 files changed +56
-1
lines changed Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ set -e
4
+ source dev-container-features-test-lib
5
+
6
+ LATEST_VERSION=" $( git ls-remote --tags https://github.com/dart-lang/sdk | grep -oP " (?<=refs/tags/)[0-9]+\\ .[0-9]+\\ .[0-9]+.*beta$" | sort -V | tail -n 1) "
7
+
8
+ check ' dart' bash -c " dart --version | grep ${LATEST_VERSION} "
9
+
10
+ reportResults
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ set -e
4
+ source dev-container-features-test-lib
5
+
6
+ check ' dart' bash -c " dart --version"
7
+
8
+ reportResults
Original file line number Diff line number Diff line change
1
+ {
2
+ "version-3" : {
3
+ "image" : " mcr.microsoft.com/devcontainers/base:debian" ,
4
+ "features" : {
5
+ "dart" : {
6
+ "version" : " 3"
7
+ }
8
+ }
9
+ },
10
+ "channel-beta" : {
11
+ "image" : " mcr.microsoft.com/devcontainers/base:debian" ,
12
+ "features" : {
13
+ "dart" : {
14
+ "channel" : " beta"
15
+ }
16
+ }
17
+ },
18
+ "channel-main" : {
19
+ "image" : " mcr.microsoft.com/devcontainers/base:debian" ,
20
+ "features" : {
21
+ "dart" : {
22
+ "channel" : " main"
23
+ }
24
+ }
25
+ }
26
+ }
Original file line number Diff line number Diff line change 1
- #! /bin/bash
1
+ #! /usr/bin/env bash
2
+
2
3
set -e
3
4
source dev-container-features-test-lib
4
5
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ set -e
4
+ source dev-container-features-test-lib
5
+
6
+ LATEST_VERSION=" $( git ls-remote --tags https://github.com/dart-lang/sdk | grep -oP " (?<=refs/tags/)3\\ .[0-9]+\\ .[0-9]+$" | sort -V | tail -n 1) "
7
+
8
+ check ' dart' bash -c " dart --version | grep ${LATEST_VERSION} "
9
+
10
+ reportResults
You can’t perform that action at this time.
0 commit comments