mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-15 20:52:40 +00:00
move cmd to ps
This commit is contained in:
13
Scripts/update-version.ps1
Normal file
13
Scripts/update-version.ps1
Normal file
@@ -0,0 +1,13 @@
|
||||
$tag = git describe --always --tags "--abbrev=0"
|
||||
$revision = git describe --always --tags
|
||||
|
||||
$text = @"
|
||||
// This file is generated by update-version.ps1
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("$tag")]
|
||||
[assembly: AssemblyInformationalVersion("$revision")]
|
||||
"@
|
||||
|
||||
$text | Out-File $PSScriptRoot\..\GitVersion.cs -Encoding utf8
|
Reference in New Issue
Block a user