From 4166be04227bc7b5b41d1809f5df40117f40703a Mon Sep 17 00:00:00 2001 From: ema Date: Sat, 7 Dec 2024 04:59:12 +0800 Subject: [PATCH] Fix AppVeyor describe the tag error --- README.md | 2 +- Scripts/pack-appx-dev.ps1 | 2 +- Scripts/pack-appx.ps1 | 2 +- Scripts/pack-zip.ps1 | 2 +- Scripts/rename-msi.ps1 | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4c9c499ee..a1e0de715 100644 --- a/README.md +++ b/README.md @@ -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) Store Link * 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` - * 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) diff --git a/Scripts/pack-appx-dev.ps1 b/Scripts/pack-appx-dev.ps1 index b97e87ecc..5f1db759e 100644 --- a/Scripts/pack-appx-dev.ps1 +++ b/Scripts/pack-appx-dev.ps1 @@ -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)) { diff --git a/Scripts/pack-appx.ps1 b/Scripts/pack-appx.ps1 index f8ab219df..95b8d2b99 100644 --- a/Scripts/pack-appx.ps1 +++ b/Scripts/pack-appx.ps1 @@ -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)) { diff --git a/Scripts/pack-zip.ps1 b/Scripts/pack-zip.ps1 index b0b7bdcc8..979b7b0a5 100644 --- a/Scripts/pack-zip.ps1 +++ b/Scripts/pack-zip.ps1 @@ -1,4 +1,4 @@ -$version = git describe --always --tags +$version = git describe --always --tags --exclude latest Start-Sleep -s 1 diff --git a/Scripts/rename-msi.ps1 b/Scripts/rename-msi.ps1 index 53dfa44c4..4e7aaeeee 100644 --- a/Scripts/rename-msi.ps1 +++ b/Scripts/rename-msi.ps1 @@ -1,4 +1,4 @@ -$version = git describe --always --tags +$version = git describe --always --tags --exclude latest Remove-Item ..\Build\QuickLook-$version.msi -ErrorAction SilentlyContinue Rename-Item ..\Build\QuickLook.msi QuickLook-$version.msi \ No newline at end of file