Skip to content

Commit

Permalink
Separated checkout and clone
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisism committed Oct 11, 2022
1 parent a97cbae commit 97b2572
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .build/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ stages:
- stage: DeployStaging
displayName: Deployment on Staging
condition: or(eq(${{variables.isReleaseCandidate}}, true),eq(${{variables.isHotfix}}, true),eq(${{variables.isMaster}}, true))
condition: and(succeeded(), or(eq(${{variables.isReleaseCandidate}}, true),eq(${{variables.isHotfix}}, true),eq(${{variables.isMaster}}, true)))
jobs:
- deployment: Staging
environment:
Expand Down
7 changes: 6 additions & 1 deletion .build/publish_in_kodi_repository_steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,15 @@
steps:
- script: |
git clone https://$(kodi_repository_url)
git checkout $(kodi_branch_name)
workingDirectory: $(Pipeline.Workspace)/
displayName: 'Clone git repository for kodi repository'
- script: |
git fetch --all
git checkout $(kodi_branch_name)
workingDirectory: $(Pipeline.Workspace)/$(kodi_repository_name)
displayName: 'Fetch and checkout correct branch for kodi repository'
- script: |
git config user.email $(git_emailAddress)
git config user.name $(git_userName)
Expand Down

0 comments on commit 97b2572

Please sign in to comment.