mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-11 13:18:21 -04:00
Fix false match for tag name
This commit is contained in:
parent
7ec43886fc
commit
89a88a9ef7
@ -181,8 +181,8 @@ if ($buildalluwp) { $plus_electron = $true }
|
|||||||
if ($text_tag -eq '') { $text_tag = 'Windows' }
|
if ($text_tag -eq '') { $text_tag = 'Windows' }
|
||||||
# Put the dash back in the tag name
|
# Put the dash back in the tag name
|
||||||
if (-not $plus_electron) {
|
if (-not $plus_electron) {
|
||||||
$tag_name = $tag_name -replace '-?([EN])', '-$1'
|
$tag_name = $tag_name -creplace '-?([EN])', '-$1'
|
||||||
$base_tag = $base_tag -replace '-?([EN])', '-$1'
|
$base_tag = $base_tag -creplace '-?([EN])', '-$1'
|
||||||
}
|
}
|
||||||
$release_title = "Kiwix JS $text_tag $base_tag UWP"
|
$release_title = "Kiwix JS $text_tag $base_tag UWP"
|
||||||
if ($text_tag -imatch 'Wikivoyage|WikiMed') { $release_title = "$text_tag by Kiwix UWP $base_tag" }
|
if ($text_tag -imatch 'Wikivoyage|WikiMed') { $release_title = "$text_tag by Kiwix UWP $base_tag" }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user