def tag(version, params):
        """Build and return full command to use with subprocess.Popen for 'git tag' command

        :param version:
        :param params:
        :return: list
        """
        cmd = ['git', 'tag', '-a', '-m', 'v%s' % version, str(version)]
        if params:
            cmd.extend(params)

        return cmd
Build and return full command to use with subprocess.Popen for 'git tag' command

        :param version:
        :param params:
        :return: list