nvuillam / npm-groovy-lint

Lint, format and auto-fix your Groovy / Jenkinsfile / Gradle files using command line
https://nvuillam.github.io/npm-groovy-lint/
MIT License
205 stars 63 forks source link

npm-groovy-lint --version returns wrong CodeNarc version #334

Closed djukxe closed 10 months ago

djukxe commented 10 months ago

After upgrading to 13.0.0, npm-groovy-lint --version displays CodeNarc version 3.3.0

➜  ~ npm-groovy-lint --version
GroovyLint: Successfully processed CodeNarc:
CodeNarc version 3.3.0

npm-groovy-lint version 13.0.0

Embeds:
CodeNarc version 3.3.0
- Groovy version 3.0.9 (superlite)

While 13.0.0 seems to be based on newer version of CodeNarc which is a bit confusing BREAKING CHANGE: Upgrade CodeNarc to v3.4.0-alpha+3346775f

stevenh commented 10 months ago

This is expected as that's how the CodeNarc build system works as the tag doesn't actually exist. This will be corrected when CodeNarc does an official release some time next year.