Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
chore: make compare-master-to-stable script more flexible
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtajina committed Mar 14, 2014
1 parent d7be958 commit bfb6af7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions compare-master-to-stable.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,12 @@ then(function (tags) {
value();
}).
then(function (tags) {
var master = tags.pop();
var stable = tags.pop();

return [
{ name: 'v1.2.x', tag: tags[0] },
{ name: 'master', tag: tags[1] }
{ name: stable.replace(/\d+$/, 'x'), tag: stable },
{ name: 'master', tag: master}
];
}).
then(allInSeries(function (branch) {
Expand Down

0 comments on commit bfb6af7

Please sign in to comment.