New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bump-tag

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bump-tag - npm Package Compare versions

Comparing version 0.2.3 to 1.0.0

4

cli.js

@@ -54,6 +54,2 @@ #!/usr/bin/env node

exec('git tag ' + pkg.version, puts);
exec('git add package.json', puts);
exec('git commit -m "bump to "'+ pkg.version, puts);
exec('git push origin master --tags', puts);
exec('npm publish', puts);
}, 200);

@@ -60,0 +56,0 @@ }

2

package.json
{
"name": "bump-tag",
"version": "0.2.3",
"version": "1.0.0",
"description": "Bump version and add tag",

@@ -5,0 +5,0 @@ "keywords": [

# bump-tag [![Build Status](https://travis-ci.org/danielhusar/bump-tag.svg)](https://travis-ci.org/danielhusar/bump-tag)
Increment version in your package.json and add git tag to the repo, and at the end publish the library to npm.
Increment version in your package.json and add git tag to the repo.

@@ -43,2 +43,3 @@ I have created this cli mainly because I keep forgetting to add tag when I bump the version.

Default: 2
Indentation for the package.json

@@ -50,6 +51,7 @@

Default: 1
Enable/disable adding git tags and pushing it to origin
Enable/disable adding git tags
## License
MIT © Daniel Husar
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc