Skip to content

Commit

Permalink
for test
Browse files Browse the repository at this point in the history
Signed-off-by: Sun, Xuehao <[email protected]>
  • Loading branch information
XuehaoSun committed Aug 15, 2024
1 parent e0ff4a6 commit 5b9c25a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ function freeze() {
}

function check_branch_name() {
branch_name=$(git branch --show-current)
echo "$branch_name is release branch"
if [[ "$GITHUB_REF_NAME" == *"rc" ]]; then
echo "$GITHUB_REF_NAME is release branch"
else
echo "$GITHUB_REF_NAME is not release branch"
# exit 0
fi
}

function main() {
Expand Down

0 comments on commit 5b9c25a

Please sign in to comment.