File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ build_script:
14
14
$host.SetShouldExit(1)
15
15
}
16
16
17
- $unzip_path = "C:\projects\azure-powershell- release"
17
+ $unzip_path = "C:\projects\release"
18
18
$unzip_file = $unzip_path + "zip"
19
19
Invoke-WebRequest ($response.Content | ConvertFrom-Json).zipball_url -OutFile $unzip_file
20
20
7z x $unzip_file -o"$unzip_path"
@@ -38,7 +38,7 @@ build_script:
38
38
{
39
39
continue
40
40
}
41
- if((gc $psd1 | Out-String) -notmatch "ModuleVersion\s*=\s*$pattern")
41
+ if((gc $psd1 | Out-String) -notmatch "ModuleVersion\s*=\s*' $pattern' ")
42
42
{
43
43
continue
44
44
}
@@ -48,12 +48,12 @@ build_script:
48
48
test : off
49
49
shallow_clone : true
50
50
on_success :
51
- - git clone -q --branch=%target_branch% %content_repo% %TEMP%\Azure
52
- - cd %TEMP%\Azure
53
- - ps : ls $global:output -dir | % { copy $_.FullName (ls -dir | select -First 1) -Recurse -Force }
54
51
- git config --global credential.helper store
55
52
-
ps :
ac "$env:USERPROFILE\.git-credentials" "https://$($env:github_access_token):[email protected] `n"
56
53
- git config --global user.email %email%
57
54
- git config --global user.name %name%
55
+ - git clone -q --branch=%target_branch% %content_repo% %TEMP%\Azure
56
+ - cd %TEMP%\Azure
57
+ - ps : ls $global:output -dir | % { copy $_.FullName (ls -dir | select -First 1) -Recurse -Force }
58
58
- git add -A
59
59
- git diff --quiet --exit-code --cached || git commit -m "Sync docs from source code repo to content repo." && git push origin %target_branch% && appveyor AddMessage "Content Updated"
You can’t perform that action at this time.
0 commit comments