Skip to content

Latest commit

 

History

30 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bump

deno@v1.6.3

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

$ deno install --allow-read --allow-write --allow-run -n bump https://denopkg.com/iamnathanj/bump@v2.2.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

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages