Comparing version 0.1.0 to 0.1.1
@@ -39,3 +39,4 @@ #! /usr/bin/env node | ||
function getType(branch) { | ||
var bits = branch.split('/') | ||
// support legacy '/' branch names | ||
var bits = branch.split(/[\/-]/) | ||
, type | ||
@@ -42,0 +43,0 @@ |
{ | ||
"name": "tagger", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Automatically create git tags if the last commit was a GitHub merge", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -40,5 +40,5 @@ var sinon = require("sinon") | ||
"task/things": "minor", | ||
"chore/things": "minor", | ||
"minor/things": "minor", | ||
"patch/things": "patch", | ||
"chore-things": "minor", | ||
"minor-things": "minor", | ||
"patch-things": "patch", | ||
"things": "patch", | ||
@@ -45,0 +45,0 @@ "": "patch" |
4801
100