forked from NP-Hardass/msed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GitVersion.ps1
31 lines (31 loc) · 1.78 KB
/
GitVersion.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Param ([String]$filename = "gitversion.h")
# Build a version header using the git describe command
$filename = Join-Path $pwd $filename
$define = "#define GIT_VERSION "
$gitdesc = git describe --dirty
echo $define`"$gitdesc`" | Out-File -FilePath $filename
# SIG # Begin signature block
# MIIEMwYJKoZIhvcNAQcCoIIEJDCCBCACAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUJUm1B8ROl4RqZmwTjsd8D/lB
# BGCgggI9MIICOTCCAaagAwIBAgIQYbuDsEStwbRExOWXZoT3qTAJBgUrDgMCHQUA
# MCwxKjAoBgNVBAMTIVBvd2VyU2hlbGwgTG9jYWwgQ2VydGlmaWNhdGUgUm9vdDAe
# Fw0xNDAzMTMwNTMyNDJaFw0zOTEyMzEyMzU5NTlaMBoxGDAWBgNVBAMTD1Bvd2Vy
# U2hlbGwgVXNlcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAj+60YuYJM8qW
# BRK6ZA5tI9k3ytiolx6X+By6vRTe/4fKUup7Xffc+p2hqEsux49crPpjUYJk7umj
# ztQsU1dXD8AowDDJ5oHtbXuSmB7rwi/klXyTmpQ6SRcoPeos4KNnbzrOOFozzOXM
# aWemCbik4/JKh3IRCWer3iOS2aKsONECAwEAAaN2MHQwEwYDVR0lBAwwCgYIKwYB
# BQUHAwMwXQYDVR0BBFYwVIAQWzLsEkEhJRfJ04UMtnTXV6EuMCwxKjAoBgNVBAMT
# IVBvd2VyU2hlbGwgTG9jYWwgQ2VydGlmaWNhdGUgUm9vdIIQ4z1VsZh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