XRPLF / clio

An XRP Ledger API Server
https://xrpl.org
ISC License
55 stars 47 forks source link

Use version from tag from any branch #1472

Open kuznetsss opened 1 week ago

kuznetsss commented 1 week ago

Summary

We should put tag into version for any branch not only for release/* branches.

Motivation

Tag itself means some specific version regardless branch it is related to.

Solution

Change the logic in cmake file to check whether the current commit has a tag and use the tag if so.