Mercurial > hg-stable
changeset 46979:66cc5f867ddc
phab-refresh: extract the comment in a variable
This make the script more readable and it is about to become more complex.
Differential Revision: https://phab.mercurial-scm.org/D10463
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 19 Apr 2021 11:04:11 +0200 |
parents | dc8976cc3a6e |
children | 75351b8b2082 |
files | contrib/heptapod-ci.yml |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/heptapod-ci.yml Mon Apr 19 16:53:45 2021 -0700 +++ b/contrib/heptapod-ci.yml Mon Apr 19 11:04:11 2021 +0200 @@ -51,8 +51,10 @@ phabricator-refresh: stage: phabricator + variables: + DEFAULT_COMMENT: ":white_check_mark: refresh by Heptapod after a successful CI run (:octopus: :green_heart:)" script: - - "./contrib/phab-refresh-stack.sh --comment \":white_check_mark: refresh by Heptapod after a successful CI run (:octopus: :green_heart:)\"" + - "./contrib/phab-refresh-stack.sh --comment \"$DEFAULT_COMMENT\"" test-py2: <<: *runtests