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
In https://github.com/goreleaser/nfpm/blob/main/apk/apk.go#L562-L565, the version format is Debian-like. APK uses Gentoo-style versioning and will not understand these versions correctly.
Generate any APK with prerelease or epoch set. It will generate a bogus version string.
It would also be nice to refactor the apk writing part into its own module. At present, I cannot use nfpm's apk module for my own purposes :(
The text was updated successfully, but these errors were encountered:
hey @kaniini , thanks for bringing this up.
if you want to work on a PR for this it would be amazing... I can help through here/slack/discord if you need :)
Sorry, something went wrong.
caarlos0
Successfully merging a pull request may close this issue.
kaniini commentedMar 9, 2022
•
edited
What happened?
In https://github.com/goreleaser/nfpm/blob/main/apk/apk.go#L562-L565, the version format is Debian-like. APK uses Gentoo-style versioning and will not understand these versions correctly.
How can we reproduce this?
Generate any APK with prerelease or epoch set. It will generate a bogus version string.
Search
Code of Conduct
Additional context
It would also be nice to refactor the apk writing part into its own module. At present, I cannot use nfpm's apk module for my own purposes :(
The text was updated successfully, but these errors were encountered: