the0neWhoKnocks / version-bumper

Demonstrates how to bump versions using git-hooks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Version Bumper

Demonstrates how to inject a modules version into the compiled code, and how to automate bumping versions via a pre-push git hook.

bumping-versions


Installation

npm i

Notes

  • If you're working on a large project (with multiple contributors) you'd rename the prepush script to prepublishOnly in package.json. This way devs can go through the PR process and a manual publish can occur once the code's been merged in.

About

Demonstrates how to bump versions using git-hooks


Languages

Language:Shell 79.5%Language:JavaScript 20.5%