Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

codacy-coverage-reporter prints wrong version #8

Closed
pedrorijo91 opened this issue Nov 11, 2015 · 2 comments
Closed

codacy-coverage-reporter prints wrong version #8

pedrorijo91 opened this issue Nov 11, 2015 · 2 comments
Assignees

Comments

@pedrorijo91
Copy link
Contributor

When running with --help flag, it prints

codacy-coverage-reporter 1.0.0
Usage: codacy-coverage-reporter [options]

  -l <value> | --language <value>
        foo is an integer property
  -t <value> | --projectToken <value>
        your project API token
  -r <value> | --coverageReport <value>
        your project API token
  --codacyApiBaseUrl <value>
        the base URL for the Codacy API
  --prefix <value>
        the project path prefix
  --help
        prints this usage text

When the actual version is 1.0.4
This version should be fetched from the pom or something. This way you have to manually change in every release

https://github.com/codacy/codacy-coverage-reporter/blob/master/src/main/scala/com/codacy/CodacyCoverageReporter.scala#L65

@pedrorijo91
Copy link
Contributor Author

@pedrorijo91 pedrorijo91 assigned pedrorijo91 and unassigned machadoit Nov 22, 2015
This was referenced Nov 22, 2015
@machadoit
Copy link
Member

It will be included when the version number is well defined during the automated build process

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants