3 ms·
can you use obs to build packages straight from git? Tarball based build workflows seam rather outdated to me.
by 0x006A 13y ago
can you use obs to build packages straight from git?
Tarball based build workflows seam rather outdated to me.
- halfasleep 13y agoYeah, you can. The functionality is called "services". I'm not sure how auto-versioning would work with git though. I have packages building from SVN, and OBS updates the spec file automagically to set the version to the SVN revision.
- tacticus 13y agoGit describe is what you want. it will take the nearest tag name and use that as the version with the number of commits from that tag as the release value.