Skip to content
Snippets Groups Projects
Commit fba51659 authored by nimrod's avatar nimrod
Browse files

- Correct bug when running git update-requirements when there are more than 2...

- Correct bug when running git update-requirements when there are more than 2 requirements files in the repo.
parent 899d3008
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@
tag-version = !git tag -af "v$(cat VERSION)"
tracking = rev-parse --abbrev-ref --symbolic-full-name @{upstream}
trigger = !git commit --allow-empty --no-edit --amend && git push --force-with-lease
update-requirements = !git stash save -a -u -q && ( git ls-files '*requirements*.txt' | xargs pur -r ) && ( git commit -a -m '- Updated requirements.' || echo 'No requirements updated.' ) && git stash pop
update-requirements = !git stash save -a -u -q && ( git ls-files '*requirements*.txt' | xargs -n1 pur -r ) && ( git commit -a -m '- Updated requirements.' || echo 'No requirements updated.' ) && git stash pop
[color]
grep = true
[core]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment