Recongition of new commits for CI
This commit is contained in:
@@ -32,6 +32,21 @@ function detectorCheckFetchHead(){
|
||||
|
||||
function gitListTags(){
|
||||
local dir=$1
|
||||
git --no-paginate --git-dir="$dir" tag -l
|
||||
git --git-dir="$dir" tag -l | cat
|
||||
|
||||
}
|
||||
|
||||
function gitListBranches(){
|
||||
local dir=$1
|
||||
git --git-dir="$dir" for-each-ref --format='%(refname:short)' refs/heads/
|
||||
}
|
||||
|
||||
|
||||
function gitPrefBranches(){
|
||||
local dir=$1
|
||||
gitListBranches $1 | grep master || true
|
||||
gitListBranches $1 | grep upstream || true
|
||||
gitListBranches $1 | sort | grep -vE 'master|upstream'
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user