summaryrefslogtreecommitdiff
path: root/common.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-07 03:24:21 -0600
committerJeff Carr <[email protected]>2025-01-07 03:24:21 -0600
commit016335b322ea65ee33e9de85e6bb818bdbcd2e39 (patch)
tree1dee3f133de753a2faf6cd4a8b4fd470fa4e6649 /common.go
parentbbd34df59901780b79ccc5748dbeb10639189a2d (diff)
simple check for devel branch
Diffstat (limited to 'common.go')
-rw-r--r--common.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/common.go b/common.go
index a9bc736..4c6dee6 100644
--- a/common.go
+++ b/common.go
@@ -46,3 +46,10 @@ func (repo *Repo) IsMasterBranch() bool {
}
return false
}
+
+func (repo *Repo) IsDevelBranch() bool {
+ if repo.GetCurrentBranchName() == repo.GetDevelBranchName() {
+ return true
+ }
+ return false
+}