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

[chocolatey] Cannot parse packageVersion template #773

Closed
2 of 4 tasks
aalmiray opened this issue Feb 22, 2022 · 1 comment
Closed
2 of 4 tasks

[chocolatey] Cannot parse packageVersion template #773

aalmiray opened this issue Feb 22, 2022 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@aalmiray
Copy link
Member

Task List

  • Steps to reproduce provided
  • Stacktrace (if present) provided
  • Example that reproduces the problem (link to git repository is ideal)
  • Full description of the issue provided (see below)

Steps to Reproduce

  1. Configure chocolatey on a project using a custom packageVersion such as {{projectVersionMajor}}.{{projectVersionMinor}}.{{projectVersionPatch}}
  2. Prepare a distribution

Expected Behaviour

Successful build

Actual Behaviour

JReleaser fails with

[INFO]  Validating configuration
[ERROR] == JReleaser ==
[ERROR] Invalid chocolatey package version {{projectVersionMajor}}.{{projectVersionMinor}}.{{projectVersionPatch}}. Follow SemVer with optional .number or .yyyyMMdd as tag
JReleaser has not been properly configured.
Invalid chocolatey package version {{projectVersionMajor}}.{{projectVersionMinor}}.{{projectVersionPatch}}. Follow SemVer with optional .number or .yyyyMMdd as tag

Environment Information

  • Operating System: N/A
  • JReleaser Version: 1.0.0-M2
  • JDK Version: N/A

Reported by @gsmet at #735 (comment)

@aalmiray aalmiray added the bug Something isn't working label Feb 22, 2022
@aalmiray aalmiray added this to the v1.0.0-RC1 milestone Feb 22, 2022
@aalmiray aalmiray self-assigned this Feb 22, 2022
@gsmet
Copy link
Contributor

gsmet commented Feb 22, 2022

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants