Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Steve Edson 16 posts 91 karma points
    Nov 09, 2018 @ 11:25
    Steve Edson
    3

    Open source: Bump client dependency automatically

    I thought I'd share a quick tool I made to automatically bump the version number in the client dependency config files in your projects.

    Example

    The code is available at https://github.com/SteveEdson/bump-client-dependency, but can quickly be used just by running:

    npx bump-client-dependency
    

    (assuming you have node + npm installed).

    You can use -t to use a timestamp, instead of incrementing the version by 1, e.g:

    npx bump-client-dependency -t
    

    making it ideal to run as part of automated builds.

    Thanks!

  • Ben Palmer 180 posts 866 karma points c-trib
    Nov 12, 2018 @ 16:24
    Ben Palmer
    1

    As someone who is constantly forgetting to bump the CD version number, I'm loving this. Will be sure to give it a whirl!

    Thanks, Steve!

Please Sign in or register to post replies

Write your reply to:

Draft