Skip to content

Conversation

elkman
Copy link
Contributor

@elkman elkman commented Jul 9, 2021

Hi @ctron,

it took me a while to get around to it, but here is my PR for #52.

I hope it's ok and fits with the rest of the code.

elkman added 4 commits July 9, 2021 18:43
- add integration test cases test14-snapshotname and test14-forcerelease
- fix missing <goal>-tag in test14-primaryname
- cache RPM version information once calculated
  (primarily avoids duplicate logging)
@ctron
Copy link
Owner

ctron commented Jul 12, 2021

Thanks for the PR! No worries, this looks great.

Just to be sure, this is a non-breaking change, right? The existing behavior should be the same, only when you opt in to the new flag, you would see the change?

@ctron ctron self-assigned this Jul 12, 2021
@ctron ctron linked an issue Jul 12, 2021 that may be closed by this pull request
@elkman
Copy link
Contributor Author

elkman commented Jul 13, 2021

Yes, non-breaking was my intention. Since the additional code only takes effect if the snapshotVersion parameter is non-empty, this should be safe. Only the log output for SNAPSHOT builds has changed, but hopefully nobody will mind that.

@ctron ctron merged commit 4d5bb0c into ctron:master Jul 14, 2021
@ctron
Copy link
Owner

ctron commented Jul 14, 2021

I just released this in 1.6.0 of the plugin … it would be great if you could give it a try and let me know if it works as expected. Thanks a lot for the contribution!

@elkman
Copy link
Contributor Author

elkman commented Jul 15, 2021

I just released this in 1.6.0 of the plugin … it would be great if you could give it a try and let me know if it works as expected.

I pulled the version from the public maven repo and everything works as expected.

Thanks for the support and the quick release.

BTW: On GitHub v1.4.0 is still tagged as latest.

@ctron
Copy link
Owner

ctron commented Jul 15, 2021

Thanks for the contribution! Indeed, I added the 1.6.0 release information … and I am also in process of uploading the documentation.

@elkman elkman deleted the feature/snapshotVersion branch July 26, 2021 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

version parameter is ignored on SNAPSHOT builds
2 participants