Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/talk-android.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-08-09 17:49:57 +0300
committerJoas Schilling <coding@schilljs.com>2022-08-09 17:49:57 +0300
commite321c02b2531e72bd86fd922134a336150187bf9 (patch)
tree4cb8b8adeb871100362f9cd7d1e10dea17795528 /.drone.yml
parenta7a56a64a48e6e7cc0b26ef0713af4f7920e9ec1 (diff)
Fix branch detection for drone PRs
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.drone.yml b/.drone.yml
index e34bf032f..559e40412 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -94,7 +94,7 @@ steps:
LOG_PASSWORD:
from_secret: LOG_PASSWORD
commands:
- - export BRANCH=$(git branch | grep '*' | cut -d' ' -f2)
+ - export BRANCH=$(scripts/analysis/getBranchName.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST)
- scripts/analysis/analysis-wrapper.sh $GIT_USERNAME $GIT_TOKEN $BRANCH $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER $DRONE_PULL_REQUEST
- name: notify