mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-10 17:29:08 +00:00
13 lines
339 B
PowerShell
13 lines
339 B
PowerShell
$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 |