Skip to content

Commit

Permalink
[#860] Fix branch detection
Browse files Browse the repository at this point in the history
  • Loading branch information
anjarakvo committed Jan 12, 2024
1 parent e27c9ba commit 928bd75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ then
FRONTEND_CHANGES=1
fi

if [[ "${CI_BRANCH}" =~ $tag_pattern || "${CI_BRANCH}" == "main" || "${CI_BRANCH}" == "develop" && "${CI_PULL_REQUEST}" != "true" ]];
if [[ "${CI_TAG}" =~ $tag_pattern || "${CI_BRANCH}" == "main" || "${CI_BRANCH}" == "develop" && "${CI_PULL_REQUEST}" != "true" ]];
then
BACKEND_CHANGES=1
FRONTEND_CHANGES=1
Expand Down

0 comments on commit 928bd75

Please # to comment.