Update action.yml
This commit is contained in:
@@ -9,9 +9,9 @@ outputs:
|
||||
git_branch_name:
|
||||
description: ""
|
||||
value: ${{ steps.extract_git_info.outputs.GIT_BRANCH_NAME }}
|
||||
git_branch_formatted:
|
||||
description: "Normalized branch name (xx.xx.xx): true or false"
|
||||
value: ${{ steps.extract_git_info.outputs.GIT_BRANCH_FORMATTED }}
|
||||
# git_branch_formatted:
|
||||
# description: "Normalized branch name (xx.xx.xx): true or false"
|
||||
# value: ${{ steps.extract_git_info.outputs.GIT_BRANCH_FORMATTED }}
|
||||
git_build_type:
|
||||
description: ""
|
||||
value: ${{ steps.extract_git_info.outputs.GIT_BUILD_TYPE }}
|
||||
@@ -55,7 +55,7 @@ runs:
|
||||
|
||||
# extract branch name as is
|
||||
GIT_BRANCH_NAME=$(git branch --show-current)
|
||||
GIT_BRANCH_FORMATTED=$(echo $GIT_BRANCH_NAME | grep -E '^[0-9]{1}\.[0-9]{2}\.[0-9]{2}$' | wc -l || echo 0)
|
||||
GIT_BRANCH_FORMATTED=$(echo $GIT_BRANCH_NAME | grep -E '^[0-9]{1}\.[0-9]{2}\.[0-9]{2}$' | wc -l)
|
||||
fi
|
||||
|
||||
# get tag description
|
||||
|
||||
Reference in New Issue
Block a user