Code Monkey home page Code Monkey logo

Comments (6)

pi0 avatar pi0 commented on September 18, 2024

Hi dear @Barbapapazes. Happy you find it useful. Also it is a nice idea to only extract bump functionality.

I myself use it for nitro-automated edge releases for example. Changelogen already exposes utilities you can import them programmatically from the package. Would that be useful to make it simpler bumpVersion utility exposed?

from changelogen.

Barbapapazes avatar Barbapapazes commented on September 18, 2024

Okk, I didn't know that changelogen expose this utility. I will try it.

But it could be useful to add documentation about these functions that are exposed.

from changelogen.

Barbapapazes avatar Barbapapazes commented on September 18, 2024

And I'm thinking about building a GitHub action for it.

from changelogen.

Barbapapazes avatar Barbapapazes commented on September 18, 2024

To explain more, I'm working on project where there is not necessary a package.json or a CHANGELOG but where we need to easily get a new semver version using commits from the lastest tag. And I think that this package have all I want to do but automatic bump of changelog generation is not something I need.

from changelogen.

Barbapapazes avatar Barbapapazes commented on September 18, 2024

Hello @pi0,

After deep diving in the code, I understand that the function bumpVersion update the package json file. So that not exactly what I needed. But anyway, I succeeded to write my script to generate a new version and the main function is determineSemverChange. I'm not sure what can be done but it seems that this package has much more power than juste update a changelog.md or a package.json file. Maybe more docs could show that (with a section about programmatic usage?).

My script: https://github.com/aneoconsulting/ArmoniK.Api/pull/185/files#diff-6e31c0ba82d99f48d77e556e24cbf18d8b2ed1757a2eef7b61085368019f689d

from changelogen.

Barbapapazes avatar Barbapapazes commented on September 18, 2024

Done, will close this issue but I'm convinced that a docs could help!

from changelogen.

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.