mirror of
https://github.com/RPCS3/rpcs3
synced 2024-11-02 11:45:30 +00:00
Windows: update some comments and echos in git-version-gen.cmd
This commit is contained in:
parent
d7b2453980
commit
105c694903
1 changed files with 2 additions and 3 deletions
|
@ -90,7 +90,6 @@ rem // Get commit count from (unshallowed) HEAD
|
|||
for /F %%I IN ('call %GIT% rev-list HEAD --count') do set COMMIT_COUNT=%%I
|
||||
|
||||
rem // Check if the current build system sets the git branch and version.
|
||||
rem // The name is misleading. This is also used for master builds.
|
||||
if defined BUILD_SOURCEBRANCHNAME (
|
||||
|
||||
rem // This must be a CI build
|
||||
|
@ -143,8 +142,8 @@ if defined BUILD_SOURCEBRANCHNAME (
|
|||
)
|
||||
|
||||
) else (
|
||||
rem // The name is misleading. This is also used for master builds.
|
||||
echo SYSTEM_PULLREQUEST_SOURCEBRANCH undefined
|
||||
echo BUILD_SOURCEBRANCHNAME undefined
|
||||
echo Assuming local build
|
||||
|
||||
rem // Make GIT_VERSION the last commit (shortened); Don't include commit count on non-release builds
|
||||
for /F %%I IN ('call %GIT% rev-parse --short^=8 HEAD') do set GIT_VERSION=%%I
|
||||
|
|
Loading…
Reference in a new issue