ブロックスクリプトを追加
This commit is contained in:
parent
07f1fc6d93
commit
004fc774dc
@ -12,6 +12,15 @@ jobs:
|
||||
- checkout: self
|
||||
clean: true
|
||||
fetchDepth: 1
|
||||
- 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ブランチに存在するか確認'
|
||||
- task: Npm@1
|
||||
displayName: npm ci
|
||||
inputs:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user