Skip to content
Branch releaser will aid in releasing branches up the chain
Go Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
git.go
install
main.go
meta.go
release.go
utils.go

README.md

Branch releaser

Branch releaser will aid in releasing branches up the chain

Installation

Installing by compilation is very straight forward. The following dependencies are required:

  • Go
  • Git

Method 1 - Download and install

curl -s https://raw.githubusercontent.com/hatchify/branch-releaser/master/install | bash -s

Method 2 - Bash script

#!/bin/bash
go get -u github.com/hatchify/branch-releaser;

Options

Option Description
--source branch Source branch to merge from
--destination branch Destination branch to merge into
--r Whether or not the current request is for the current directory or its children

Example

$ branch-releaser --source beta --destination master --r 

Additional

Sometimes you should export PATH variable to your current bash environment to allow golang executable file work from any place of your bash

export PATH="$PATH:$GOPATH/bin"
You can’t perform that action at this time.