@@ -9,7 +9,6 @@ resources:
9
9
type : github
10
10
endpoint : github.com_surveyjsdeveloper
11
11
name : surveyjs/service
12
- ref : V2
13
12
14
13
trigger :
15
14
batch : true
@@ -173,26 +172,26 @@ steps:
173
172
# read about the problem with git output ($env:GIT_REDIRECT_STDERR = '2>&1') :
174
173
# https://github.com/microsoft/azure-pipelines-yaml/issues/248
175
174
# https://stackoverflow.com/questions/58485585/azure-pipeline-powershell-and-git-on-windows-server-2019-gives-error-in-output
176
- # - powershell: |
177
- # cd $(Build.SourcesDirectory)/service
178
- # git pull origin master
179
- # git fetch origin master --tags --force
180
- # git checkout master
181
- # git add surveyjs.io/App_Data/DocsPdf
182
- # git commit -m "updated survey-pdf docs [azurepipelines skip]"
183
- # git pull origin master
184
- # git push origin master
185
- # displayName: "git surveyjs/service push updated docs"
186
175
- powershell : |
187
176
cd $(Build.SourcesDirectory)/service
188
- git pull origin V2
189
- git fetch origin V2 --tags --force
190
- git checkout V2
177
+ git pull origin master
178
+ git fetch origin master --tags --force
179
+ git checkout master
191
180
git add surveyjs.io/App_Data/DocsPdf
192
- git commit -m "updated survey-pdf V2 docs [azurepipelines skip]"
193
- git pull origin V2
194
- git push origin V2
195
- displayName: "git surveyjs/service push updated V2 docs"
181
+ git commit -m "updated survey-pdf docs [azurepipelines skip]"
182
+ git pull origin master
183
+ git push origin master
184
+ displayName: "git surveyjs/service push updated docs"
185
+ # - powershell: |
186
+ # cd $(Build.SourcesDirectory)/service
187
+ # git pull origin V2
188
+ # git fetch origin V2 --tags --force
189
+ # git checkout V2
190
+ # git add surveyjs.io/App_Data/DocsPdf
191
+ # git commit -m "updated survey-pdf V2 docs [azurepipelines skip]"
192
+ # git pull origin V2
193
+ # git push origin V2
194
+ # displayName: "git surveyjs/service push updated V2 docs"
196
195
197
196
- task : CopyFiles@2
198
197
inputs :
0 commit comments