File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
components/bridge/connection/sample/desktop Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 3
3
# 1.8.2 - In Progress
4
4
5
5
- [ Feature] Migrate app onto new BLE api
6
+ - [ Fix] Fix CI for desktop sample app
6
7
7
8
8
9
# 1.8.1
Original file line number Diff line number Diff line change @@ -34,6 +34,20 @@ compose.desktop {
34
34
targetFormats(TargetFormat .Dmg , TargetFormat .Msi , TargetFormat .Deb )
35
35
packageName = " Flipper App"
36
36
packageVersion = project.VERSION_NAME
37
+ .split(" ." )
38
+ .let { semVers ->
39
+ // minimum major version for desktop is 1
40
+ val major = semVers.getOrNull(0 )
41
+ ?.toIntOrNull()
42
+ ?.coerceAtLeast(1 )
43
+ ? : 1
44
+ val minor = semVers.getOrNull(1 ) ? : 0
45
+ // If generated on CI - getting autogenerated last number first
46
+ val patch = semVers.getOrNull(3 )
47
+ ? : semVers.getOrNull(2 )
48
+ ? : 0
49
+ " ${major} .${minor} .${patch} "
50
+ }
37
51
}
38
52
}
39
53
}
You can’t perform that action at this time.
0 commit comments