try fix sync with upstream overriding local changes

This commit is contained in:
Collin M. Barrett 2020-02-16 15:41:09 -06:00
parent adc7783486
commit 5e7cdfd91c
2 changed files with 2 additions and 3 deletions

View file

@ -1,7 +1,7 @@
[
{
"id": 1,
"description": "A filter list that blocks mobile advertisements and trackers on Japanese properties",
"description": "TEMP A filter list that blocks mobile advertisements and trackers on Japanese properties",
"homeUrl": "https://280blocker.net",
"licenseId": 1,
"name": "280 Blocker",

View file

@ -80,13 +80,12 @@ steps:
fi
- task: Bash@3
displayName: merge upstream data
displayName: rebase upstream/master
inputs:
targetType: inline
script: |
git remote add upstream https://github.com/collinbarrett/FilterLists.git
git fetch upstream
git checkout master 'data/*.json' 'server/src/FilterLists.Data.Migrations/*'
git rebase upstream/master
CONFLICTS=$(git ls-files -u | wc -l)
if [ "$CONFLICTS" -gt 0 ] ; then