Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bash-git-utils

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bash-git-utils

Some simple utilities for git-based build/deploy scripts.

  • 2.5.0
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

git utils

Some simple utilities for git-based build/deploy scripts.

You can customize these scripts to work with any process you have on your team; they're unopinionated and intended to be very flexible.

Usage

  1. Edit the details in git_utils.cfg to conform with your own repo
  2. Start using the scripts to help automate your release process

See below for an example.

Example

See the files bump_version.sh and cut_release.sh for some examples showing how to use these utils.

In short, the scripts load methods from git_utils and then execute a few commands to accomplish their task. bump_version sets some arbitrary number saved in a file called example.cfg, then commits the change locally. cut_release also bumps the version, and additionally pushes a new tag and a new branch called release.

They can be executed by typing e.g. bump_version 1.0.2 or cut_release 1.0.2 rc1, assuming you're in the directory containing these scripts.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

FAQs

Package last updated on 10 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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