Update task.py

Adding the minor and major version to the task