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

[Feature Request] Versioning when building from git #3

Open
FabioLolix opened this issue Oct 31, 2022 · 0 comments
Open

[Feature Request] Versioning when building from git #3

FabioLolix opened this issue Oct 31, 2022 · 0 comments

Comments

@FabioLolix
Copy link
Owner

$ gnuclad
gnuclad 0.2.4
$ gnuclad
gnuclad HEAD

Use versioning like for AUR VCS pkgbuilds (without tags) https://wiki.archlinux.org/title/VCS_package_guidelines#Git

printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"

r105.0cac2b6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant