update-nur-search: do a git pull before push.
Reduce potential conflicts on push
This commit is contained in:
parent
ffbce401f6
commit
d2a984e176
1 changed files with 1 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ cd nur-search
|
|||
if [[ ! -z "$(git diff --exit-code)" ]]; then
|
||||
git add ./data/packages.json
|
||||
git commit -m "automatic update package.json"
|
||||
git pull --rebase origin master
|
||||
git push origin master
|
||||
nix-shell --run "make && make publish"
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue