We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 904d573 commit 46e7eeeCopy full SHA for 46e7eee
JsLibraryPackaging.psm1
@@ -117,7 +117,14 @@ function Update-BowerLibraries () {
117
$library = $libraries.$($libraryProperty.Name)
118
$libraryName = $library.endpoint.source
119
$libraryVersion = $library.pkgMeta.version
120
- if ($libraryVersion -ne $library.update.latest) {
+ $latestVersion = $library.update.latest
121
+ if ($latestVersion.Contains('-')) {
122
+ #if latest is beta
123
+ $latestVersion = $library.update.target
124
+ }
125
+
126
+ if ($libraryVersion -ne $latestVersion) {
127
+ Write-Host "Updating $libraryName from $libraryVersion to $($library.update.latest)"
128
Update-BowerLibrary $libraryName
129
}
130
0 commit comments