Socket
Book a DemoInstallSign in
Socket

runas-gitflow-finish

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

runas-gitflow-finish

Finish step for gitflow structure

latest
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

Main Index:

  • Available Commands
  • Plugins

Available Commands:

FLOWS

STEPS

hotfix::finish (Git Flow Finish)

[Index]

Description

Finish step execute main functionality of finish action Runas GitFlow methology.

"merge" Strategy

With this strategy the step try to merge targetBranch into actualBranch. if is OK try to delete actualBranch. Branch to delete is emmit as deletedBranch.

If any there is any conflict stop de execution until this conflict were solved.

"pullRequest" Strategy

first try to merge locally target branch with yours and then shows this message:

IMPORTANT: Make sure your changes have been pushed before make the pullRequest manually.

********************************** READ THIS **********************************

     Create a Pull Request manually and wait for resolution by responsible

 *******************************************************************************

Note: you can change the finish strategy of any repository by adding a .runas/runas.json file like this in your repository:

{
  "params" : {
    "strategy" : "pullRequest"
  }
}

Parameters

  • --strategy: String, default: merge, possibles (merge/pullRequest), establish merge strategy of the process.
  • --finishTargets: [Object], default see next section

finishTargets - configuration

By default is:

  "finishTargets": {
    "merger" : "develop",
    "feature" : "develop",
    "release" : "master",
    "hotfix" : "master"
  },

"release" : "master",  -> ${actualBranch} : ${targetBranch},
  • actualBranch: Is the name of the actual branch.
  • targetBranch: Is the name of the target branch that is going to be merged

Stages

check

git fetch -p & git pull

run

git branch --unset-upstream git checkout ${targetBranch} git pull git merge ${actualBranch} git branch -d ${actualBranch}

Emmit

Emit the name of the branch that is needed to be deleted.

actualBranch -> deletedBranch

Plugins

  • runas-plugin-scm-git

Keywords

runas-recipe

FAQs

Package last updated on 10 Oct 2017

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.