Skip to content

Commit fd54e52

Browse files
Update build-packages.yml for Azure Pipelines
1 parent e6a93ac commit fd54e52

File tree

1 file changed

+17
-18
lines changed

1 file changed

+17
-18
lines changed

build-packages.yml

+17-18
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ resources:
99
type: github
1010
endpoint: github.com_surveyjsdeveloper
1111
name: surveyjs/service
12-
ref: V2
1312
- repository: EmptyRepo
1413
type: github
1514
endpoint: github.com_surveyjsdeveloper
@@ -219,26 +218,26 @@ jobs:
219218
# read about the problem with git output ($env:GIT_REDIRECT_STDERR = '2>&1') :
220219
# https://github.com/microsoft/azure-pipelines-yaml/issues/248
221220
# https://stackoverflow.com/questions/58485585/azure-pipeline-powershell-and-git-on-windows-server-2019-gives-error-in-output
222-
# - powershell: |
223-
# cd $(Build.SourcesDirectory)/service
224-
# git pull origin master
225-
# git fetch origin master --tags --force
226-
# git checkout master
227-
# git add surveyjs.io/App_Data/DocsEditor
228-
# git commit -m "updated survey-creator docs [azurepipelines skip]"
229-
# git pull origin master
230-
# git push origin master
231-
# displayName: "Git surveyjs/service push updated docs"
232221
- powershell: |
233222
cd $(Build.SourcesDirectory)/service
234-
git pull origin V2
235-
git fetch origin V2 --tags --force
236-
git checkout V2
223+
git pull origin master
224+
git fetch origin master --tags --force
225+
git checkout master
237226
git add surveyjs.io/App_Data/DocsEditor
238-
git commit -m "updated survey-creator V2 docs [azurepipelines skip]"
239-
git pull origin V2
240-
git push origin V2
241-
displayName: "git surveyjs/service push updated V2 docs"
227+
git commit -m "updated survey-creator docs [azurepipelines skip]"
228+
git pull origin master
229+
git push origin master
230+
displayName: "Git surveyjs/service push updated docs"
231+
# - powershell: |
232+
# cd $(Build.SourcesDirectory)/service
233+
# git pull origin V2
234+
# git fetch origin V2 --tags --force
235+
# git checkout V2
236+
# git add surveyjs.io/App_Data/DocsEditor
237+
# git commit -m "updated survey-creator V2 docs [azurepipelines skip]"
238+
# git pull origin V2
239+
# git push origin V2
240+
# displayName: "git surveyjs/service push updated V2 docs"
242241

243242
- job: CreatorV2React
244243
dependsOn: CreatorV2Core

0 commit comments

Comments
 (0)