Giter Site home page Giter Site logo

Comments (3)

M0ses avatar M0ses commented on August 25, 2024

because your filename libosmo-dsp-v0.3.8.tar.xz does not match the regex. The version is not supposed to contain letters. But how should we detect this? There are multiple ways to autodetect the version.

Maybe each single step should print a message if it is unable to detect a version. So you have at least a hint.

Anyway: maby this _service file may help you, if you could accept to lose :

<services>
        <service name="tar_scm" mode="disabled">
                <param name="scm">git</param>
                <param name="url">git://git.osmocom.org/libosmo-dsp</param>
                <param name="revision">master</param>
                <param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@</param>
                <param name="versionrewrite-pattern">v(.*)</param>
        </service>
        <service name="recompress" mode="disabled">
                <param name="file">*.tar</param>
                <param name="compression">xz</param>
        </service>
        <service name="set_version" mode="disabled"/>
</services>

from obs-service-set_version.

jengelh avatar jengelh commented on August 25, 2024

The version is not supposed to contain letters

I can understand if we do not want the typical leading 'v' character, but, in general, prohibiting letters sounds really wrong, in case you did mean that. If someone makes a "2.0.51a" tag, I want to retain that 'a'.

from obs-service-set_version.

M0ses avatar M0ses commented on August 25, 2024

I agree, but guessing version numbers can be hard ;-). Maybe a cli switch (and param) like "--regex '...'" could solve this problem

from obs-service-set_version.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.