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

Pre-release version of created RPM packages don't sort correctly #54

Closed
troian opened this issue May 25, 2019 · 4 comments
Closed

Pre-release version of created RPM packages don't sort correctly #54

troian opened this issue May 25, 2019 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@troian
Copy link
Member

troian commented May 25, 2019

Describe the bug

nfpm package replaces - to _ which seems to break RPM version guidelines

https://www.thegeekdiary.com/understanding-rpm-versions-and-naming-schemes

Reproduce

Try create packages with versions v1.1.1_beta1 and v1.1.1_beta2. Install v1.1.1_beta1 followed by update to v1.1.1_beta2 which is ignored

@caarlos0 caarlos0 added the bug Something isn't working label May 25, 2019
@caarlos0 caarlos0 self-assigned this May 25, 2019
@caarlos0
Copy link
Member

I was looking into this... this is as intended, actually: #24

it won't accept 1.2.3-beta1 as a version...

afaik there is no way to add a "prerelease" tag to the version to the rpm spec... but I'm not well versed in RPM so I may be wrong...

@troian
Copy link
Member Author

troian commented May 25, 2019

Found this sort of explanation https://serverfault.com/a/867567

Server Fault
In order to publish RPM packages of several different versions of some software, I'm looking for a way to specify version "numbers" that are considered "upgrades", and include the differentiation of

@djgilcrease
Copy link
Contributor

This should be fixed by #79 so long as you use a version like v1.2.3-0.1.beta

@caarlos0
Copy link
Member

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@goreleaser goreleaser locked as resolved and limited conversation to collaborators Nov 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants