UNPKG

git-branch-is

Version:

Assert that the name of the current branch of a git repository has a particular value.

57 lines (38 loc) 2.19 kB
# [4.0.0](https://github.com/kevinoid/git-branch-is/compare/v3.1.0...v4.0.0) (2020-07-31) ### BREAKING CHANGES * Detached HEAD is now handled like an empty branch name (which can be matched in the usual ways) rather than causing an error as it did in previous versions. ### Features * Update to `commander@5`. ## [3.1.0](https://github.com/kevinoid/git-branch-is/tree/v3.1.0) (2019-11-16) [Full Changelog](https://github.com/kevinoid/git-branch-is/compare/v3.0.0...v3.1.0) - Dependency version updates. - Code style fixes. ## [3.0.0](https://github.com/kevinoid/git-branch-is/tree/3.0.0) (2019-08-09) [Full Changelog](https://github.com/kevinoid/git-branch-is/compare/v2.1.0...3.0.0) - **BREAKING** Require Node 8 or later. - Dependency version updates. - Code style fixes. ## [v2.1.0](https://github.com/kevinoid/git-branch-is/tree/v2.1.0) (2018-09-27) [Full Changelog](https://github.com/kevinoid/git-branch-is/compare/v2.0.0...v2.1.0) - Add support for inverting/negating match with `-I`/`--invert-match`/`--not` ([\#28](https://github.com/kevinoid/git-branch-is/issues/28) [\#29](https://github.com/kevinoid/git-branch-is/pull/29)) - Update dependency versions. ## [v2.0.0](https://github.com/kevinoid/git-branch-is/tree/v2.0.0) (2018-06-29) [Full Changelog](https://github.com/kevinoid/git-branch-is/compare/v1.0.0...v2.0.0) - **BREAKING** Drop support for Node 4. - Dependency version updates. - Code style fixes. ## [v1.0.0](https://github.com/kevinoid/git-branch-is/tree/v1.0.0) (2018-06-01) [Full Changelog](https://github.com/kevinoid/git-branch-is/compare/v0.1.0...v1.0.0) - Branch name regex support [\#22](https://github.com/kevinoid/git-branch-is/issues/22) (and [\#23](https://github.com/kevinoid/git-branch-is/pull/23), partially) - Support for case-insensitive comparison and matching. - Support for passing a test function to `gitBranchIs`. - Drop support for Node 0.10 and 0.12. - Bump to 1.0.0 to declare API as stable. ## [v0.1.0](https://github.com/kevinoid/git-branch-is/tree/v0.1.0) (2016-04-01) \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*