openSUSE / obs-service-tar_scm

An OBS source service: fetches code from any SCM and archives it
GNU General Public License v2.0
31 stars 105 forks source link

Chooses the wrong tag in case of several tags being present #481

Closed jubalh closed 10 months ago

jubalh commented 10 months ago

I use tar_scm for himalaya. With my last update I got a problem. It seems not to detect the correct version number.

Himalaya tags the latest release with v0.9.0 and latest. It seems tar_scm then works on v(\d+\.\d+\.\d+) and gives me latest~0. In the _service file I mentioned <param name="revision">v0.9.0</param> though. So I think it should work on that tag.

jubalh commented 10 months ago

I see now that actually <param name="match-tag">v*</param> will take care of this.