Skip to content

Commit

Permalink
Fix copier tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Oct 21, 2021
1 parent f1fb873 commit 9962878
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ repos:
rev: v2.4.1
hooks:
- id: prettier
exclude: ^copier.yml$
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
Expand Down
3 changes: 1 addition & 2 deletions copier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ _envops:

_tasks:
# HACK: https://github.com/copier-org/copier/issues/461
- if [ {{ ci }} == "Github" ]; then rm -f -- .travis.yml; elif [ {{ ci }} == "Travis"
]; then rm -f -- .t2d.yml; fi
- rm -f {% if ci != "Travis" %}.travis.yml{% endif %} {% if ci != "GitHub" %}.t2d.yml{% endif %}

odoo_version:
type: float
Expand Down

0 comments on commit 9962878

Please sign in to comment.