Skip to content
Snippets Groups Projects
Commit 75351b8b2082 authored by Pierre-Yves David's avatar Pierre-Yves David
Browse files

phab-refresh: use a special comment on the stable branch

Phabricator make it hard to spot the branch information. As a result patch
intended for stable are consistently queued for default.

We add a special command and flashy GIF to try to attract reviewer attention on
the fact patch are intended for stable.

Differential Revision: https://phab.mercurial-scm.org/D10464
parent 66cc5f867ddc
No related branches found
No related tags found
No related merge requests found
...@@ -53,4 +53,5 @@ ...@@ -53,4 +53,5 @@
stage: phabricator stage: phabricator
variables: variables:
DEFAULT_COMMENT: ":white_check_mark: refresh by Heptapod after a successful CI run (:octopus: :green_heart:)" DEFAULT_COMMENT: ":white_check_mark: refresh by Heptapod after a successful CI run (:octopus: :green_heart:)"
STABLE_COMMENT: ":white_check_mark: refresh by Heptapod after a successful CI run (:octopus: :green_heart:)\n This patch is intended for stable \n{image https://media.giphy.com/media/nYI8SmmChYXK0/source.gif}"
script: script:
...@@ -56,5 +57,10 @@ ...@@ -56,5 +57,10 @@
script: script:
- "./contrib/phab-refresh-stack.sh --comment \"$DEFAULT_COMMENT\"" - |
if [ `hg branch` == "stable" ]; then
./contrib/phab-refresh-stack.sh --comment "$STABLE_COMMENT";
else
./contrib/phab-refresh-stack.sh --comment "$DEFAULT_COMMENT";
fi
test-py2: test-py2:
<<: *runtests <<: *runtests
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment