Skip to content

iAmNathanJ/bump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bump

This is my personal tool for versioning Deno projects. You might find it useful as well.

$ deno install --allow-read --allow-write --allow-run bump https://denopkg.com/iamnathanj/bump@v1.0.0/cli.ts

Usage

Add a project.json to the root of your project:

{
  "name": "your-deno-module", // required 
  "version": "0.0.0",         // required
  "replaceVersion": [         // optional
    "README.md"
  ],
  "signGitTag": true,         // optional
}

Run bump in the root of your project:

$ bump major

This will:

  • bump the version in your project.json
  • replace version strings in the files specified by project.json#replaceVersion
  • create a git commit with the new changes
  • create a git tag for the new version

Make sure to git push --follow-tags to push the changes to your remote.

Available version commands

  • major
  • minor
  • patch

Contributing

Please do open an issue or PR if you feel you have something valuable to add.

About

Project versioning tool for Deno

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published