From 18af4e297dfa4e7e770eef2313f779e7b68d9818 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B9=AF=E6=9C=AC=20=E9=96=8B?= Date: Mon, 24 Jul 2023 09:00:22 +0000 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index aef4571..e88c779 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,20 +16,20 @@ jobs: pool: vmImage: ubuntu-latest steps: - - checkout: self - - script: | - git fetch origin main:main - if git merge-base --is-ancestor $(Build.SourceVersion) main; then - echo "This commit is in the main branch." - else - echo "This commit is not in the main branch." - exit 1 - fi - displayName: 'タグが付けられたCommitがdevelopブランチに存在するか確認' - - script: echo Checked out $(Build.SourceVersion) tagged with $(Build.SourceBranch) - displayName: "Run a one-line script" + - checkout: self + - script: | + git fetch origin main:main + if git merge-base --is-ancestor $(Build.SourceVersion) main; then + echo "This commit is in the main branch." + else + echo "This commit is not in the main branch." + exit 1 + fi + displayName: 'タグが付けられたCommitがdevelopブランチに存在するか確認' + - script: echo Checked out $(Build.SourceVersion) tagged with $(Build.SourceBranch) + displayName: "Run a one-line script" - - script: | - echo Add other tasks to build, test, and deploy your project. - echo See https://aka.ms/yaml + - script: | + echo Add other tasks to build, test, and deploy your project. + echo See https://aka.ms/yaml displayName: "Run Build"