Skip to content

Tsuk1ko/postversion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

postversion

Self-use npm postversion script

Installation

npm

npm i -D @tsuk1ko/postversion

yarn

yarn add -D @tsuk1ko/postversion

Usage

Add a postversion script to your package.json

{
  "scripts": {
    "postversion": "tpv"
  }
}

When you run npm version and confirm, commits and the new tag will be pushed to the remote.

Notice

This script won't run npm publish. It is designed for publishing package with GitHub Actions.