We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c6076c commit e659603Copy full SHA for e659603
1 file changed
UpdateGitCommit.ps1
@@ -1,9 +1,17 @@
1
-$webConfig = "$env:DEPLOYMENT_TARGET\Web.config"
+Write-Output "DEPLOYMENT_TARGET: '$env:DEPLOYMENT_TARGET'"
2
+
3
+Write-Output "SVC_COMMIT_ID: '$env:SVC_COMMIT_ID'"
4
5
6
7
+$webConfig = "$env:DEPLOYMENT_TARGET\Web.config"
8
9
$doc = (Get-Content $webConfig) -as [Xml]
10
11
$node = $doc.configuration.appSettings.add | where Key -EQ "appharbor.commit_id"
12
13
$node.Value = $env:SVC_COMMIT_ID
14
-$doc.Save($webConfig)
15
+$doc.Save($webConfig)
16
17
+Write-Output "Completed App setting update"
0 commit comments