mirror of
https://github.com/Radarr/Radarr.git
synced 2024-10-05 15:47:20 +02:00
Fixed: Always full build on branch builds
This commit is contained in:
parent
c94606dccd
commit
3a8920a1e9
@ -37,8 +37,12 @@ stages:
|
|||||||
- bash: echo "##vso[build.updatebuildnumber]$RADARRVERSION"
|
- bash: echo "##vso[build.updatebuildnumber]$RADARRVERSION"
|
||||||
displayName: Set Build Name
|
displayName: Set Build Name
|
||||||
- bash: |
|
- bash: |
|
||||||
|
if [[ $BUILD_REASON == "PullRequest" ]]; then
|
||||||
git diff origin/aphrodite...HEAD --name-only | grep -E "^(src/|azure-pipelines.yml)"
|
git diff origin/aphrodite...HEAD --name-only | grep -E "^(src/|azure-pipelines.yml)"
|
||||||
echo $? > not_backend_update
|
echo $? > not_backend_update
|
||||||
|
else
|
||||||
|
echo 0 > not_backend_update
|
||||||
|
fi
|
||||||
cat not_backend_update
|
cat not_backend_update
|
||||||
displayName: Check for Backend File Changes
|
displayName: Check for Backend File Changes
|
||||||
- publish: not_backend_update
|
- publish: not_backend_update
|
||||||
|
Loading…
Reference in New Issue
Block a user