+fix: repair build

This commit is contained in:
METANEOCORTEX\Kotti 2023-01-21 14:59:01 +01:00
parent 70a3125b5a
commit 8ddfd34b31
7 changed files with 52 additions and 2 deletions

View File

@ -57,8 +57,10 @@ try
}
# locally: increase build number and persit it
$Build = $Build + 1
# locally: read commit ID from .git\FETCH_HEAD
$CommitID = [string](Get-Content ".git\FETCH_HEAD" -TotalCount 8)
# locally: read commit ID from .git\refs\heads\<first file>
$HeadDir = ".git\refs\heads"
$HeadMaster = Get-ChildItem -Path $HeadDir -Force -Recurse -File | Select-Object -First 1
$CommitID = [string](Get-Content "$HeadDir\$HeadMaster" -TotalCount 8)
if (!$CommitID) {
$length = ([string]($env:computername)).length
$CommitID = ([string]($env:computername)).substring(0,[math]::min($length,8)).ToLower()

1
Versions/build.txt Normal file
View File

@ -0,0 +1 @@
0

1
Versions/day.txt Normal file
View File

@ -0,0 +1 @@
000

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<assemblyIdentity
name="MiniPath"
processorArchitecture="*"
version="1.0.2.191"
type="win32"
/>
<description>metapath</description>
</assembly>

5
minipath/src/VersionEx.h Normal file
View File

@ -0,0 +1,5 @@
#define MNPTHNAME "MiniPath"
#define VERSION_MAJOR 1
#define VERSION_MINOR 0
#define VERSION_REV 2
#define VERSION_BUILD 191

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity
name="Rizonesoft.Notepad3"
version="6.00.0000.0"
processorArchitecture="*"
type="win32"
/>
<description>Notepad3 NoVer</description>
</assembly>

20
src/VersionEx.h Normal file
View File

@ -0,0 +1,20 @@
// encoding: UTF-8
// //////////////////////////////////////////////////////////
// //
// this file is generated - use template to apply changes //
// //
// //////////////////////////////////////////////////////////
#define APPNAME Notepad3
#define SAPPNAME "Notepad3"
#define VERSION_MAJOR 6
#define VERSION_MINOR 00
#define VERSION_REV 000
#define VERSION_BUILD 0
#define SCINTILLA_VER 000
#define LEXILLA_VER 000
#define ONIGURUMA_REGEX_VER 0.0.0
#define UCHARDET_VER 0000.00.00
#define TINYEXPR_VER 0000.00.00
#define UTHASH_VER 0.0.0
#define VERSION_PATCH NoVer
#define VERSION_COMMIT_ID 00000000