Fix AppVeyor describe the tag error

This commit is contained in:
ema
2024-12-07 04:59:12 +08:00
parent 77b5eb454e
commit 4166be0422
5 changed files with 5 additions and 5 deletions

View File

@@ -34,7 +34,7 @@ Get it from one of the following sources:
* Microsoft Store (Windows 10 users only, no preview in open/save-dialogs available) <a href="https://www.microsoft.com/store/apps/9nv4bs3l1h4s?ocid=badge" target="_blank"><img src="https://developer.microsoft.com/store/badges/images/English_get_L.png" height="22px" alt="Store Link" /></a> * Microsoft Store (Windows 10 users only, no preview in open/save-dialogs available) <a href="https://www.microsoft.com/store/apps/9nv4bs3l1h4s?ocid=badge" target="_blank"><img src="https://developer.microsoft.com/store/badges/images/English_get_L.png" height="22px" alt="Store Link" /></a>
* Installer or portable archive of the stable version from [GitHub Release](https://github.com/QL-Win/QuickLook/releases) * Installer or portable archive of the stable version from [GitHub Release](https://github.com/QL-Win/QuickLook/releases)
* Using [Scoop](https://scoop.sh/): `scoop install quicklook` * Using [Scoop](https://scoop.sh/): `scoop install quicklook`
* Nightly builds from [AppVeyor](https://ci.appveyor.com/project/xupefei/quicklook/build/artifacts) * Nightly builds from [AppVeyor](https://ci.appveyor.com/project/xupefei/quicklook/build/artifacts) and [GitHub Action](https://github.com/QL-Win/QuickLook/releases/)
[What are the differences between `.msi`, `.zip`, Nightly and Store versions?](https://github.com/QL-Win/QuickLook/wiki/Differences-Between-Distributions) [What are the differences between `.msi`, `.zip`, Nightly and Store versions?](https://github.com/QL-Win/QuickLook/wiki/Differences-Between-Distributions)

View File

@@ -1,4 +1,4 @@
$version = git describe --always --tags "--abbrev=0" $version = git describe --always --tags "--abbrev=0" --exclude latest
if($version.Split('.').Length.Equals(3)) if($version.Split('.').Length.Equals(3))
{ {

View File

@@ -1,4 +1,4 @@
$version = git describe --always --tags "--abbrev=0" $version = git describe --always --tags "--abbrev=0" --exclude latest
if($version.Split('.').Length.Equals(3)) if($version.Split('.').Length.Equals(3))
{ {

View File

@@ -1,4 +1,4 @@
$version = git describe --always --tags $version = git describe --always --tags --exclude latest
Start-Sleep -s 1 Start-Sleep -s 1

View File

@@ -1,4 +1,4 @@
$version = git describe --always --tags $version = git describe --always --tags --exclude latest
Remove-Item ..\Build\QuickLook-$version.msi -ErrorAction SilentlyContinue Remove-Item ..\Build\QuickLook-$version.msi -ErrorAction SilentlyContinue
Rename-Item ..\Build\QuickLook.msi QuickLook-$version.msi Rename-Item ..\Build\QuickLook.msi QuickLook-$version.msi