1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-07 16:26:11 +02:00

Fix fetching HEAD tag for nightly builds

This commit is contained in:
Martin Oberhuber 2006-08-24 11:16:32 +00:00
parent 1631e66ecb
commit ff4f60c5bb
3 changed files with 3 additions and 1 deletions

View file

@ -87,7 +87,7 @@ $incantation .= "-DbuildId=${buildId} ";
$incantation .= "-DmapVersionTag=${tag} "; $incantation .= "-DmapVersionTag=${tag} ";
if ($buildType =~ "N") { if ($buildType =~ "N") {
$incantation .= "-DforceContextQualifier=${buildId} "; $incantation .= "-DforceContextQualifier=${buildId} ";
$incantation .= "-DfetchTag=HEAD ";
} }
print("${incantation}\n"); print("${incantation}\n");

View file

@ -67,6 +67,7 @@ command += "-DbuildId=#{buildId} "
command += "-DmapVersionTag=#{tag} " command += "-DmapVersionTag=#{tag} "
if ("#{buildType}" == "N") then if ("#{buildType}" == "N") then
command += "-DforceContextQualifier=#{buildId} " command += "-DforceContextQualifier=#{buildId} "
command += "-DfetchTag=HEAD "
end end
puts(command) puts(command)

View file

@ -42,6 +42,7 @@ command="$command -DbuildId=${buildId} "
command="$command -DmapVersionTag=${tag} " command="$command -DmapVersionTag=${tag} "
command="$command -DdoPublish=true " command="$command -DdoPublish=true "
command="$command -DforceContextQualifier=${buildId} " command="$command -DforceContextQualifier=${buildId} "
command="$command -DfetchTag=HEAD "
#command="$command postBuild " #command="$command postBuild "
echo "$command" echo "$command"