diff --git a/Version.ps1 b/Version.ps1 index 01fa90486..73052aec2 100644 --- a/Version.ps1 +++ b/Version.ps1 @@ -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\ + $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() diff --git a/Versions/build.txt b/Versions/build.txt new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/Versions/build.txt @@ -0,0 +1 @@ +0 diff --git a/Versions/day.txt b/Versions/day.txt new file mode 100644 index 000000000..8f087a34c --- /dev/null +++ b/Versions/day.txt @@ -0,0 +1 @@ +000 diff --git a/minipath/res/MiniPath.exe.manifest.conf b/minipath/res/MiniPath.exe.manifest.conf new file mode 100644 index 000000000..caf940f17 --- /dev/null +++ b/minipath/res/MiniPath.exe.manifest.conf @@ -0,0 +1,10 @@ + + + + metapath + diff --git a/minipath/src/VersionEx.h b/minipath/src/VersionEx.h new file mode 100644 index 000000000..723b54fee --- /dev/null +++ b/minipath/src/VersionEx.h @@ -0,0 +1,5 @@ +#define MNPTHNAME "MiniPath" +#define VERSION_MAJOR 1 +#define VERSION_MINOR 0 +#define VERSION_REV 2 +#define VERSION_BUILD 191 diff --git a/res/Notepad3.exe.conf.manifest b/res/Notepad3.exe.conf.manifest new file mode 100644 index 000000000..e3d567a3f --- /dev/null +++ b/res/Notepad3.exe.conf.manifest @@ -0,0 +1,11 @@ + + + + + Notepad3 NoVer + diff --git a/src/VersionEx.h b/src/VersionEx.h new file mode 100644 index 000000000..c1f2a423c --- /dev/null +++ b/src/VersionEx.h @@ -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