Coder Social home page Coder Social logo

git-flow's Introduction

git-flow

Some automated tools for use in order to achieve company's git-flow

Installation

  1. Make sure that Git is installed.
  2. Clone the repository into custom folder.
  3. Run ./install.sh inside the cloned repo.

Profit!

Go pipeline trigger

git go command will automatically send request to schedule Go pipeline for your repo.

Go pipelines has to be conformed to github-to-go-hooks integration (Innova term).

The .go file inside repo root has to define some variables:

pipeline={go pipeline name}
host={host[:port] for your Go deployment}

Version bump

"Version-bump" is automated version bumping tool for libraries and optional linking this new version to product that using it.

Usage: git bump [-m %message%] [%path_to_dep%]

git bump ensures that you are running it inside "master" branch of your library and makes sure that it's up to date. After that it makes a dry-run push and notifies you about troubles if any.

If %path_to_dep% is specified then tool assumes that this is a path to local repository for a product that depends on your library. It tries to find "bower.json" and write down new version of the library into it.

If everything is okay the tool changes dependency version to the new one and commit changes with message provided with "-m" key of the command or last message used to commit changes for the library and pushes this changes to the origin.

Version determination algorithm

The tool checks bower.json file in order to find out version of the library you are about to bump. Also it checks last tagged version of the library at the origin.

Using the highest version from two above described the tool pushes local changes to the origin, creates tag with new version and pushes all local tags to the origin.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.