mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-08 00:35:49 +02:00
Fix fetching HEAD tag for nightly builds
This commit is contained in:
parent
1631e66ecb
commit
ff4f60c5bb
3 changed files with 3 additions and 1 deletions
|
@ -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");
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Add table
Reference in a new issue