Skip to content

Commit

Permalink
#147: Fix usage of "version_compare" filter
Browse files Browse the repository at this point in the history
  • Loading branch information
BR0kEN- committed Jul 5, 2018
1 parent 6932a97 commit c99d9ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/self-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@
# Run the migrations only when the version of CIKit has grown.
- include_tasks: tasks/migrations/run.yml
# A new version of CIKit is greater than current.
when: cikit_version | version_compare(cikit_current_version, 'gt')
when: cikit_version is version_compare(cikit_current_version, 'gt')
2 changes: 1 addition & 1 deletion scripts/tasks/migrations/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
with_items: "{{ cikit_migrations }}"
# This file runs only if a new version of the package is greater than current. This
# means we have to run only those tasks, which were added only after the current version.
when: "item | version_compare(cikit_current_version, 'gt')"
when: "item is version_compare(cikit_current_version, 'gt')"

0 comments on commit c99d9ec

Please sign in to comment.