Skip to content

Commit

Permalink
Add show-version task to doit.
Browse files Browse the repository at this point in the history
  • Loading branch information
csadorf committed Sep 20, 2022
1 parent 13240b0 commit 0f116a7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions dodo.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,20 @@
}


def task_show_version():
"""Print the version for this repository."""

def show_version(version):
print(version)

return {
"basename": "show-version",
"actions": [show_version],
"params": [_VERSION_PARAM],
"verbosity": 2,
}


def task_build():
"""Build all docker images."""

Expand Down

0 comments on commit 0f116a7

Please sign in to comment.