mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2025-12-28 07:54:07 +00:00
+ fix: Build Version Script
This commit is contained in:
parent
4cf04521c8
commit
064cd19788
3
.gitignore
vendored
3
.gitignore
vendored
@ -54,10 +54,9 @@ Thumbs.db
|
||||
|
||||
/Version_*.cmd
|
||||
/Versions/build.txt
|
||||
/np3portableapp/_buildname.txt
|
||||
|
||||
/np3portableapp/*.7z
|
||||
/np3portableapp/*.paf.exe
|
||||
/np3portableapp/_buildname.txt
|
||||
/np3portableapp/Notepad3Portable/Notepad3Portable.exe
|
||||
/np3portableapp/Notepad3Portable/App/AppInfo/appinfo.ini
|
||||
/np3portableapp/Notepad3Portable/App/DefaultData/settings
|
||||
|
||||
@ -36,17 +36,16 @@ try
|
||||
$Major = 5
|
||||
$Minor = [int]$(Get-Date -format yy)
|
||||
$Revis = [int]$(Get-Date -format MMdd)
|
||||
#~$Build = [int]($env:appveyor_build_number )
|
||||
$Build = [int](Get-Content "Versions\build.txt")
|
||||
if (!$Build) { $Build = 0 }
|
||||
$Build = $Build + 1
|
||||
if ($AppVeyorEnv) {
|
||||
$CommitID = [string]($env:appveyor_repo_commit)
|
||||
$Build = [int]($env:appveyor_build_number)
|
||||
}
|
||||
else {
|
||||
$CommitID = [string]($env:computername)
|
||||
$Build = [int](Get-Content "Versions\build.txt") + 1
|
||||
}
|
||||
if (!$CommitID) { $CommitID = "---" }
|
||||
if (!$Build) { $Build = 0 }
|
||||
$SciVer = [string](Get-Content "scintilla\version.txt")
|
||||
if (!$SciVer) { $SciVer = 0 }
|
||||
$OnigVer = [string](Get-Content "oniguruma\version.txt")
|
||||
|
||||
@ -1 +1 @@
|
||||
0
|
||||
3194
|
||||
|
||||
Loading…
Reference in New Issue
Block a user